]> git.ipfire.org Git - thirdparty/squid.git/commit - src/anyp/Uri.h
Bug 1961 partial: move urlParse() into class URL
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 26 Jun 2017 02:14:42 +0000 (14:14 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 26 Jun 2017 02:14:42 +0000 (14:14 +1200)
commit91489e450151447a010af2f8f283edb06111da3c
treea947e208a9518480716b052b06c813cae8165717
parent9dcc90318195708ca0e304f055b36dba6686eedd
Bug 1961 partial: move urlParse() into class URL

* rename local variables in urlParse() to avoid symbol
  clashes with class URL members and methods.

* move HttpRequest method assignment out to the single caller
  which actually needed it. Others all passed in the method
  which was already set on the HttpRequest object passed.

* removed now needless HttpRequest parameter of urlParse()

* rename urlParse as a class URL method

* make URL::parseFinish() private

* remove unnecessary CONNECT_PORT define

* add RFC documentation for 'CONNECT' URI handling

* fixed two XXX in URL-rewrite handling doing unnecessary
  HttpRequest object creation and destruction cycles on
  invalid URL-rewrite helper output.
src/HttpRequest.cc
src/URL.h
src/adaptation/ServiceConfig.cc
src/adaptation/ecap/MessageRep.cc
src/client_side_request.cc
src/defines.h
src/redirect.cc
src/tests/stub_url.cc
src/url.cc