Re: [squid-users] error loading a site

From: <rav@dont-contact.us>
Date: Sun, 18 Mar 2001 18:41:06 -0600 (CST)

Quoting Henrik Nordstrom <hno@hem.passagen.se>:

> It is a browser bug which is a bit tricky to work around at the proxy.
> Some JavaScript implementations allows scripts to insert newlines into
> the requested URL, which seriously goofs up the HTTP protocol syntax.

I got it clearer now with this comment.

> You might be able to work around the issue by adding
> #define RELAXED_HTTP_PARSER 1
> to the top of client_side.c

Added it and recompiled squid.
It works! Finally that site is retrievable through squid.

cache.log is clean, access.log recorded:
...
984960519.628 714 modem1l.ucol.mx TCP_HIT/200 1699 GET
http://www.latinmail.com/img/head_2b.gif - NONE/- image/gif
984960615.344 105121 modem1l.ucol.mx TCP_MISS/200 257 GET
http://ng.starmedia.com/js.ng/pos=468x60ban&site=lr&chan=imail&chan2=ma -
DIRECT/ng.starmedia.com application/x-javascript
...

Thank you for your help and patience, Henrik! :)

Raul
Received on Sun Mar 18 2001 - 17:40:47 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:43 MST