]> git.ipfire.org Git - thirdparty/squid.git/commit - src/http/StatusLine.h
SourceLayout: protocol_t upgrade
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 2 Mar 2011 07:27:24 +0000 (00:27 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 2 Mar 2011 07:27:24 +0000 (00:27 -0700)
commit0c3d3f65531d4c9f8267118441fbd2bad9c85147
treeb5c189bedf27f546016e8226afa7a12fd8884690
parentca27a8d8b9f8610643a7eef69995498f1d632d44
SourceLayout: protocol_t upgrade

This begins the libanyp.la SourceLayout changes by moving the protocol_t
type code to stand-alone files inside its namespace.

On the most part there are no behaviour changes. The boundaries between
the two semi-related types of protocol and protocol scheme are now clear:

 * URLScheme is to be used where the protocol name is related to a URI
   scheme description.

 * AnyP::ProtocolType is to be used for other non-URI places requiring
   the protocol to be named or manipulated as a concept.

Textual representations of these two concepts differ and the output of
these two types likewise differs to accomodate. Abusing them will result
in visibly unusual output.
38 files changed:
configure.ac
src/AclRegs.cc
src/HttpMsg.cc
src/HttpMsg.h
src/HttpRequest.cc
src/HttpRequest.h
src/HttpStatusLine.cc
src/HttpStatusLine.h
src/Makefile.am
src/URLScheme.cc
src/URLScheme.h
src/acl/Protocol.cc
src/acl/Protocol.h
src/acl/ProtocolData.cc
src/acl/ProtocolData.h
src/anyp/Makefile.am [new file with mode: 0644]
src/anyp/ProtocolType.h [new file with mode: 0644]
src/client_db.cc
src/client_side.cc
src/client_side_reply.cc
src/client_side_request.cc
src/enums.h
src/errorpage.cc
src/external_acl.cc
src/forward.cc
src/ftp.cc
src/http.cc
src/icp_v2.cc
src/internal.cc
src/neighbors.cc
src/peer_select.cc
src/protos.h
src/tests/stub_HttpRequest.cc
src/tests/testHttpRequest.cc
src/tests/testURL.cc
src/tests/testURLScheme.cc
src/typedefs.h
src/url.cc