Revision: 6970
http://ipcop.svn.sourceforge.net/ipcop/?rev=6970&view=rev
Author: owes
Date: 2013-03-20 14:33:10 +0000 (Wed, 20 Mar 2013)
Log Message:
-----------
Allow 0 for cache mem to be able to disable caching completely
Modified Paths:
--------------
ipcop/trunk/html/cgi-bin/proxy.cgi
Modified: ipcop/trunk/html/cgi-bin/proxy.cgi
===================================================================
--- ipcop/trunk/html/cgi-bin/proxy.cgi 2013-03-16 14:51:09 UTC (rev 6969)
+++ ipcop/trunk/html/cgi-bin/proxy.cgi 2013-03-20 14:33:10 UTC (rev 6970)
@@ -420,9 +420,7 @@
$cachedisk[1] = 0 if ($cachedisk[1] < 10);
$proxysettings{'CACHE_SIZE'} = $cachedisk[1] if
($proxysettings{'CACHE_SIZE'} > $cachedisk[1]);
}
- if (!($proxysettings{'CACHE_MEM'} =~ /^\d+/) ||
- ($proxysettings{'CACHE_MEM'} < 1))
- {
+ if (!($proxysettings{'CACHE_MEM'} =~ /^\d+/)) {
$errormessage = $Lang::tr{'errmsg mem cache size'};
$error_options = 'error';
goto ERROR;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn