From: Matteo Nastasi Date: Fri, 26 Oct 2012 06:19:41 +0000 (+0200) Subject: is_proxy disabled to verify performances problem X-Git-Tag: v4.0.0~23 X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=brisk.git;a=commitdiff_plain;h=ab33a0ce2ba7b2751fa6e360e3d7f011e9069f06 is_proxy disabled to verify performances problem --- diff --git a/web/Obj/proxyscan.phh b/web/Obj/proxyscan.phh index 662ccb2..8d78a6a 100644 --- a/web/Obj/proxyscan.phh +++ b/web/Obj/proxyscan.phh @@ -54,6 +54,10 @@ class proxy_detector { ); } + /* + function exists_in_rbl($remote) + verify if an host is into a proxy black list or not + */ function exists_in_rbl($remote) { $rbls = array('http.dnsbl.sorbs.net', 'misc.dnsbl.sorbs.net'); // $remote = $_SERVER['REMOTE_ADDR']; @@ -125,7 +129,7 @@ class proxy_detector { /** - * BOOL $proxy = detect( VOID ) + * BOOL $proxy = detect( $addr ) * Start detection and return TRUE if a proxy server is detected... */ function detect($addr){ @@ -179,6 +183,10 @@ class proxy_detector { //init class function is_proxy($addr) { + /* FIXME: test to verify reasons of poor multitasking performances */ + return (FALSE); + /* FIXME: end */ + $proxy = new proxy_detector(); //start detect diff --git a/web/spush/brisk-spush.php b/web/spush/brisk-spush.php index 3a1d65f..ac4195a 100755 --- a/web/spush/brisk-spush.php +++ b/web/spush/brisk-spush.php @@ -23,8 +23,8 @@ * * TODO * - * - BUG: fast loop on stream index_rd_ifra page - * + * - DNS access + * - unneeded garbage_time.expired access * - centralize all '