]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 2287: Send a 505 on requests with unsupported HTTP versions
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 13 Feb 2009 04:32:34 +0000 (17:32 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 13 Feb 2009 04:32:34 +0000 (17:32 +1300)
commita567047db020941cc6d7517bcb956b8331d7e0f2
tree070ab84d682322d6f92114b9d6c5e973a93f43e8
parent287bbe9a2b1fd5f6174f1b6ea4fca78c7c29ff3d
parente57c1885a1099aa87337fe717b2cb6b5d54c6f2e
Bug 2287: Send a 505 on requests with unsupported HTTP versions

Squid currenty accepts requests with well-formed 0.9, 1.0, and 1.1 versions
and one special case of mising version (assumed to be 0.9 legacy requests)

All others including well-formed 0.x < 0.9 are now aborted with a
HTTP 1.1 compliant 505 Version Not Supported error.
src/client_side.cc
src/client_side_reply.cc