]> git.ipfire.org Git - thirdparty/squid.git/commit
Compliance: handle HTTP OPTIONS and TRACE requests with asterisk URIs.
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 31 Aug 2010 23:46:24 +0000 (17:46 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Tue, 31 Aug 2010 23:46:24 +0000 (17:46 -0600)
commit4d919a809f1ecea8d92602407e5ef438c6c313a1
tree5a1b6d3bbe8dd2cbc8b323f3cbce89c6286c5342
parent50f9c87342c359fab57fd9ff386fbd3b93c2557f
Compliance: handle HTTP OPTIONS and TRACE requests with asterisk URIs.

Handle '*' URIs in urlParse(). This allows Squid properly respond to
OPTIONS and TRACE requests with '*' URIs and Max-Forwards value of
zero. Forwarding such requests is out of this change scope and still
does not work because the upstream host and port are not set.

Co-Advisor test cases:
  test_case/rfc2616/options-bodyless-asterisk
  test_case/rfc2616/maxForwardsZero-OPTIONS-asterisk
  test_case/rfc2616/maxForwardsZero-TRACE-asterisk
src/url.cc