From 3063e05a93fb97a5eca7f26c38da94fa4000406e Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 23 Jun 2009 19:57:21 +0100 Subject: [PATCH] cope better when POST limit exceeded --- pctb/dictionary-update-receiver | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pctb/dictionary-update-receiver b/pctb/dictionary-update-receiver index 015f051..cd1638e 100755 --- a/pctb/dictionary-update-receiver +++ b/pctb/dictionary-update-receiver @@ -12,7 +12,7 @@ use strict (qw(vars)); use POSIX; -$CGI::POST_MAX= 65536; +$CGI::POST_MAX= 1024*1024; $CGI::DISABLE_UPLOADS= 1; use CGI qw/:standard -private_tempfiles/; @@ -155,7 +155,7 @@ sub pipeval ($@) { my $dict= param('dict'); my $entry_in= param('entry'); -defined $entry_in or die; +defined $entry_in or die Dump()." ?"; my $ocean= param('ocean'); my $pirate= param('pirate'); -- 2.30.2