diff --git a/proxy/pool_lista.php b/proxy/pool_lista.php index a0b205e..644f07e 100755 --- a/proxy/pool_lista.php +++ b/proxy/pool_lista.php @@ -24,10 +24,10 @@ if (isset($_POST['tempo'])) { - + - + = DATE_SUB(NOW(), INTERVAL 1 $tempo)"; $res = mysql_query( $query, $DB_ID ); @@ -81,7 +81,6 @@ while ($dato = mysql_fetch_array ( $res )) { - @@ -91,10 +90,9 @@ while ($dato = mysql_fetch_array ( $res )) { - - + diff --git a/proxy/script/conntrack.pl b/proxy/script/conntrack.pl index bee2fbe..4b22bb2 100755 --- a/proxy/script/conntrack.pl +++ b/proxy/script/conntrack.pl @@ -173,7 +173,7 @@ sub conntrack { $sem2->up(); print "Invio query UPDATE\n" if ($verbose > 1); } - last if ($conta >= $limit_thread); + return if ($conta >= $limit_thread); } close CT; return;