]> git.ipfire.org Git - thirdparty/squid.git/commit - src/ftp/Elements.h
Fixed HttpHdr::Private/NoCache(v) implementations and optimized their API.
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 7 Aug 2014 22:33:48 +0000 (16:33 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Thu, 7 Aug 2014 22:33:48 +0000 (16:33 -0600)
commit43446566e3092dc7969e72f22b6c1362a4701784
tree09da5362af674c44f2662002539c69dc53862e20
parent1ab04517e705e2aaa2afc9d45bb3dcb45e6030da
Fixed HttpHdr::Private/NoCache(v) implementations and optimized their API.

These calls now avoid assertions and extra trailing commas when called with
empty names. The API now allows calling with a String() object, but still
needs more polishing work.

Moved common code from Ftp::Server::setReply and Ftp::Relay::createHttpReply()
into Ftp::HttpReplyWrapper().

Also removed the last non-job callbak from Ftp::Client, polished and synced
new FTP comments with the modern client/server/gateway/relay terminology, as
well as minimized changes compared to trunk.
src/HttpHdrCc.h
src/clients/FtpClient.cc
src/clients/FtpClient.h
src/clients/FtpGateway.cc
src/clients/FtpRelay.cc
src/ftp/Elements.cc
src/ftp/Elements.h
src/servers/FtpServer.cc
src/servers/FtpServer.h