Search squid archive

Can a space after HTTP/1.1 be allowed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx        Campus Benjamin Franklin
http://www.charite.de              Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux