]> git.ipfire.org Git - thirdparty/squid.git/commit - src/anyp/PortCfg.h
Polished for the official review, addressing several TODOs.
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 5 Aug 2014 22:44:23 +0000 (16:44 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Tue, 5 Aug 2014 22:44:23 +0000 (16:44 -0600)
commite7ce227f301a8f1ab73487d19da899fde7c18858
treef1710c441207569e612c19e06eabe1e6d152a470
parent5517260ac271f3b217a1d7f8e955221ba4c1156a
Polished for the official review, addressing several TODOs.

Use 1.1 version for FTP ports because FTP commands are sent on a
"persistent by default" connection, just like HTTP/1.1.

Cleaned up Ftp::CtrlChannel, Ftp::DataChannel, and Ftp::Client object
construction and destruction.

Do not insist on USER command when intercepting FTP. Interception support
may still not work for other reasons, but USER does not seem to be required
since Squid gets request destination from the intercepted connection info.
17 files changed:
src/HttpHeader.cc
src/HttpHeader.h
src/HttpHeaderTools.cc
src/SBuf.cc
src/SBuf.h
src/anyp/PortCfg.cc
src/anyp/PortCfg.h
src/cf.data.pre
src/client_side.cc
src/client_side.h
src/clients/FtpClient.cc
src/clients/FtpClient.h
src/clients/FtpGateway.cc
src/clients/FtpRelay.cc
src/servers/FtpServer.cc
src/servers/FtpServer.h
src/tools.cc