Search squid archive

Re: what "line" expects squid from redirector

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

 



On tor, 2007-09-27 at 06:58 -0700, Arthur Tumanyan wrote:


> I don't know what's right .
> sometime reredirector gets lines like this  :
> 'A//games.yahoo.com/&pl=DivX%20Browser%20Plug-In%3AQuickTime%20Plug-in%206.0%20/%207%3ARealPlayer%209%3AWindows%20Media%20Player%20Plugin%3Amplayerplug-in%203.31%3AShockwave%20Flash%3ADefault%'
> 
> Can you tell me,what is needed to solve this problem?

How big read buffer do you use in your helper? (MAX_LINELEN)

This needs to be bigger than the biggest possible request sent by Squid
or fgets will split the lines in multiple reads. The request sent by
Squid can be quite large and I recommend at least 16 KB for the read
buffer..

Regards
Henrik

Attachment: signature.asc
Description: This is a digitally signed message part


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

  Powered by Linux