[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squid-users
Subject:    Re: [squid-users] what "line" expects squid from redirector
From:       Henrik Nordstrom <henrik () henriknordstrom ! net>
Date:       2007-09-28 12:44:48
Message-ID: 1190983488.16627.7.camel () henriknordstrom ! net
[Download RAW message or body]


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


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic