Re: [squid-users] what "line" expects squid from redirector

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Fri, 28 Sep 2007 14:44:48 +0200

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

Received on Fri Sep 28 2007 - 06:44:56 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:03 MDT