Search squid archive

Re: squid3.4 - MySQL, PHP script - block websites

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14/11/2015 2:20 p.m., Jens Kallup wrote:
> Hello,
> 
> I have problems to block web sites  listet in mysql database.
> When i start the script below, it works, but squid3.4 give me log output;
> 
> 2015/11/14 01:27:40 kid1| helperHandleRead: unexpected read from
> blockscript #Hlpr0, 3 bytes 'OK
> 
> how can i fix that problem ?

By not using PHP.

PHP is designed to be used to generate HTML page content in short
processing bursts, and exiting after each one. There are timeout bugs in
the PHP processing engine which make it unsuitable for long-running
processes such as Squid helpers.

Amos

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux