[PATCH] Compliance: handle HTTP OPTIONS and TRACE requests with asterisk URIs

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Mon, 30 Aug 2010 19:33:39 -0600

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 similar requests with positive Max-Forwards value 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

Received on Tue Aug 31 2010 - 01:33:51 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 31 2010 - 12:00:05 MDT