]> git.ipfire.org Git - thirdparty/squid.git/commit - src/adaptation/icap/ModXact.cc
SourceLayout: rename ClientSocketContext to Http::Stream
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 31 Jan 2016 12:05:30 +0000 (01:05 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 31 Jan 2016 12:05:30 +0000 (01:05 +1300)
commit898d1a09e1d9e8f39de5d34df6793197c0fc8dc4
treeb01477446f32722c8bdf666e528bfa825f1ff72a
parent6ea850c183f5f601da6861e4a1fc161ed0ad9f89
parentd3dddfb5729fe221bd0fc81ba7fd6dea3a5f2f1c
SourceLayout: rename ClientSocketContext to Http::Stream

 ... and provided through http/libsquid-http.la.

The name is chosen to match the RFC7540 HTTP/2 "stream" terminology.
Which defines a stream as a bi-directional transaction, including request,
reply and all related 1xx informational and/or control messages.

That same word "stream" is also used in RFC7230 briefly to describe the
same "transaction" scope and details. But not formalized until RFC7540.

Http::Stream's may be initiated by a client HTTP request, Squid internally,
or in HTTP/2 a server PUSH_PROMISE frame.

There are no logic changes in this. Just symbol renaming and move.
17 files changed:
src/FwdState.cc
src/HttpRequest.cc
src/acl/Certificate.cc
src/acl/DestinationIp.cc
src/acl/FilledChecklist.cc
src/client_side.cc
src/client_side_request.cc
src/clients/FtpClient.cc
src/clients/FtpRelay.cc
src/format/Format.cc
src/http.cc
src/http/Makefile.am
src/http/Stream.h
src/servers/FtpServer.cc
src/servers/FtpServer.h
src/stat.cc
src/tunnel.cc