From: Ian Jackson Date: Tue, 23 Jun 2009 18:57:21 +0000 (+0100) Subject: cope better when POST limit exceeded X-Git-Tag: 1.9.2~96 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.web-live.git;a=commitdiff_plain;h=3063e05a93fb97a5eca7f26c38da94fa4000406e;ds=sidebyside cope better when POST limit exceeded --- 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');