]> git.ipfire.org Git - thirdparty/squid.git/commit
Compliance: reply with 400 (Bad Request) if request header is too big.
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 31 Aug 2010 23:34:10 +0000 (17:34 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Tue, 31 Aug 2010 23:34:10 +0000 (17:34 -0600)
commitb5bd85156037b34aada887be8765765f4d6bc54e
tree0679dffffb03ad326012b85f35b97b5c27fe150b
parent864a62b559e7f614c062425f5a0540b69fc3bfab
Compliance: reply with 400 (Bad Request) if request header is too big.

Reply with a standard 400 (Bad Request) instead of 601 (Unknown) status in
case of an ERR_TOO_BIG error. HTTP does not have a dedicated code for the
too-big header error. There is 414 (Request-URI Too Long), but Squid does not
distinguish too-large headers from too-large URIs.

Co-Advisor test case: test_case/rfc2616/longUri-65536
src/HttpStatusCode.h
src/client_side.cc