]> git.ipfire.org Git - thirdparty/squid.git/commit
Major source layout change: Moved FTP code into servers/, clients/, and ftp/.
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 4 Aug 2014 21:44:31 +0000 (15:44 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Mon, 4 Aug 2014 21:44:31 +0000 (15:44 -0600)
commit92ae4c86c14b2c6346ee32550d472eb57fd1caea
treed565c66823a8c5c99bcba89f223136827f006e6a
parent8a2f40ddd267fae7f3bb3194f7a13812d3c314d6
Major source layout change: Moved FTP code into servers/, clients/, and ftp/.

  src/servers/FtpServer.*   # new FTP server, relaying FTP
  src/servers/HttpServer.*  # old ConnStateData parts conflicting w/ FtpServer
  src/clients/FtpClient.*   # code shared by old and new FTP clients
  src/clients/FtpGateway.*  # old FTP client, translating back to HTTP
  src/clients/FtpNative.*   # new FTP client, relaying FTP
  src/ftp/*                 # FTP stuff shared by clients and servers

This change attempts to preserve code in moved files to the extent possible:
Only copied or added code was polished. Future changes will polish moved code.

Unfortunately, bzr does not track code changes across file splits, so the code
moved from ConnStateData (client_side.cc) into HttpServer and FtpServer
classes appears as removed and added in bzr diff. If you want to see the
branch log for the FtpServer or HttpServer code added in this revision, look
in the previous branch revision of client_side.cc.
27 files changed:
configure.ac
src/FtpGatewayServer.h [deleted file]
src/FwdState.cc
src/Makefile.am
src/RequestFlags.h
src/acl/forward.h
src/clientStream.h
src/clientStreamForward.h [new file with mode: 0644]
src/client_side.cc
src/client_side.h
src/client_side_reply.h
src/clients/FtpClient.cc [moved from src/FtpServer.cc with 91% similarity]
src/clients/FtpClient.h [moved from src/FtpServer.h with 97% similarity]
src/clients/FtpGateway.cc [moved from src/ftp.cc with 99% similarity]
src/clients/FtpNative.cc [moved from src/FtpGatewayServer.cc with 85% similarity]
src/clients/Makefile.am [new file with mode: 0644]
src/clients/forward.h [new file with mode: 0644]
src/errorpage.cc
src/ftp.h [deleted file]
src/ftp/Makefile.am [new file with mode: 0644]
src/ftp/Parsing.cc [new file with mode: 0644]
src/ftp/Parsing.h [new file with mode: 0644]
src/servers/FtpServer.cc [new file with mode: 0644]
src/servers/FtpServer.h [new file with mode: 0644]
src/servers/HttpServer.cc [new file with mode: 0644]
src/servers/Makefile.am [new file with mode: 0644]
src/servers/forward.h [new file with mode: 0644]