]> git.ipfire.org Git - thirdparty/squid.git/commit
Give full Request-URI to eCAP adapters.
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 9 Mar 2011 17:52:15 +0000 (10:52 -0700)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 9 Mar 2011 17:52:15 +0000 (10:52 -0700)
commitdd31ab8f3f0e621847b4a57a2edb00a8233ecf2a
tree9c030b59a5c0649284ff9be8eddd0244c7858824
parente11513e1d19c26fd3d7b8bc942e5a0d97d9039f8
Give full Request-URI to eCAP adapters.

Implement libecap::RequestLine::uri() to return full Request-URI instead
of URL path.

Niether full URL nor URL path is perfect because the actual request may
have full URI or a path, but Squid does not really keep that
information. This change makes our eCAP implementation consistent with
our ICAP implementation.

Eventually, eCAP may have an API that is guaranteed to return full
Request-URI and Squid may remember what kind of URI it got in the virgin
request, allowing for a more truthful implementation.
src/adaptation/ecap/MessageRep.cc