[squid-users] R: Re: TCP_DENIED/411

Amos Jeffries squid3 at treenet.co.nz
Mon Nov 10 08:40:58 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/11/2014 8:53 p.m., Riccardo Castellani wrote:
> I think the request is http/1.1 because I captured it and it shows
> in the 'Hypertext Transfer Protocol' in the POST section, the field
> 'Request version' is HTTP/1.1 I understand Squid 2.7 is not able to
> understand http/1.1, but I ask myself if 'content-length' field was
> missing in the http/1.1 request and Squid was compliant to
> http/1.1( squid 3.x version ) , what Squid would return 
> 'DENIED/411' again?

Can you produce a copy of those HTTP headers to clarify what we are
discussing?

HTTP/1.1 allows the possibility of Content-Length not being present
yet the request being valid. Squid-2.7 has just enough 1.1 compliance
to perform checks like that and respond with the appropriate 411 or
accept.

HTTP/1.0 requires terminating the TCP connection in these circumstances.

Amos

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUYHoZAAoJELJo5wb/XPRjzsQIAK0inM0JrQVMSyfqdtZPfpmR
D4nO6+Xs888obdVh4mGciCePSwzHcFd7HCwb/RIqCit/v1ocQhdJxzXSwCiIgCud
eVNDYQUKO08LKlIMVg0zyQqBbEQlaxEv8hfa0CLnk7KNB74s4e0Lv0PDbHrOSDsm
iQ1jvCKlgcTq8owm2ITXoYWoIkze/BbrUegdMmgSqjHebQ+5Gk7by0TAlQCXC4Ct
uS1fnZHmlkzX9HcaBwvnh8IjMXuRYd09ZF5ASwi0Puo1XZpyjMFD4svsEpTA00Rb
9wb2C0O6R7h1wWoIwmsu3JfjuufPRPZ+HUyyMA0Ba+xXv3/g34zmd7UzgTzYfyA=
=ykSC
-----END PGP SIGNATURE-----


More information about the squid-users mailing list