[squid-users] Can a space after HTTP/1.1 be allowed?

From: Ralf Hildebrandt <Ralf.Hildebrandt_at_charite.de>
Date: Wed, 7 Nov 2012 13:53:12 +0100

A broken application sends this request to our Squid-3.1.21:

"CONNECT gateway.push.apple.com:2195 HTTP/1.1 "
(note the trailing space!)

which results in "HTTP/1.0 400 Bad Request"

And indeed:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5.1
together with
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.1
clearly define that there must be a CRLF after the HTTP Version, no
spaces are allowed.

Still, it's easier to have a workaround in squid than to get a big,
three letter company to fix their software.

Is there a way for me to relax that particular check?

-- 
Ralf Hildebrandt                   Charite Universitätsmedizin Berlin
ralf.hildebrandt_at_charite.de        Campus Benjamin Franklin
http://www.charite.de              Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155
Received on Wed Nov 07 2012 - 12:53:24 MST

This archive was generated by hypermail 2.2.0 : Thu Nov 08 2012 - 12:00:03 MST