]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
squid: Allow to set more FDs in CGI.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 15 Jul 2013 20:04:59 +0000 (22:04 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 15 Jul 2013 20:04:59 +0000 (22:04 +0200)
html/cgi-bin/proxy.cgi

index fb313ac7c122104c0376a0845f98fa32495d8617..051c01206ef181e6e3b8b06c01fe9fe4471550bf 100644 (file)
@@ -381,7 +381,7 @@ if (($proxysettings{'ACTION'} eq $Lang::tr{'save'}) || ($proxysettings{'ACTION'}
                }
        }
        if (!($proxysettings{'FILEDESCRIPTORS'} =~ /^\d+/) ||
                }
        }
        if (!($proxysettings{'FILEDESCRIPTORS'} =~ /^\d+/) ||
-               ($proxysettings{'FILEDESCRIPTORS'} < 1) || ($proxysettings{'FILEDESCRIPTORS'} > 16384))
+               ($proxysettings{'FILEDESCRIPTORS'} < 1) || ($proxysettings{'FILEDESCRIPTORS'} > 65536))
        {
                $errormessage = $Lang::tr{'proxy errmsg filedescriptors'};
                goto ERROR;
        {
                $errormessage = $Lang::tr{'proxy errmsg filedescriptors'};
                goto ERROR;