Re: POST problems with squid-1.2b23

From: Duane Wessels <wessels@dont-contact.us>
Date: Fri, 24 Jul 1998 11:00:16 -0600

Ernest Yik writes:

>Hi,
>
> There is a reproducible problem with POST in squid 1.2 betas (at
>least with b22 and b23). URL : http://www.iii.com:81/patroninfo
>Try to input anything (or nothing) in the form and submit. With
>1.2b22/3, the client received nothing until timeout. There is no
>problem with this form using 1.NOVM.20 or no proxies.

Well, two things are broken here, and I would argue that Squid
is not one of them.

Your user-agent (Netscape??) is sending an additional CRLF after
the end of the POST request body. The request header says:

        Referer: http://www.iii.com:81/patroninfo
        Proxy-Connection: Keep-Alive
        User-Agent: Mozilla/3.01 (X11; I; IRIX 5.3 IP22)
        Host: www.iii.com:81
        Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
        Content-type: application/x-www-form-urlencoded
        Content-length: 31

But netscape actually sends *33* bytes.

This server (www.iii.com) is *expecting* these extra bytes. It fails
to work if you only send it 31 bytes, which is what squid-1.2 is
doing.

I'm sure that upgrading your browser, or getting iii.com to fix their
server is out of the question...

Duane W.
Received on Fri Jul 24 1998 - 10:01:47 MDT

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