]> git.ipfire.org Git - thirdparty/squid.git/commit - src/AccessLogEntry.h
SourceLayout: port config and select-loop priority polishing
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 25 Apr 2012 05:29:20 +0000 (23:29 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 25 Apr 2012 05:29:20 +0000 (23:29 -0600)
commit65d448bc848526838ea2d5cea65d72a341896f08
tree3841cd9ff05c9eea85f730de6b9098c4dabc26bc
parent891dfa1b2cce27941fb573ea4d44badf408724d5
SourceLayout: port config and select-loop priority polishing

- renames http_port_list to AnyP::PortCfg
- de-duplicate https_port_list into AnyP::PortCfg
- shuffles related globals and defines into anyp/PortCfg.*
- renames MAXHTTPPORTS to MAXTCPLISTENPORTS to suit its actual coverage of HTTP and HTTPS ports.
- shuffled config port clone function into a method.
- rename ICP/HTCP/SNMP API functions to consistent *OpenPorts() and *ClosePorts()

  NP:following applies to incoming_* and *_poll_cnt directives.
- renames *_icp_* to *_udp_*
- renames *_http_* to *_tcp_*
- shuffles duplicated struct SquidConf options into a shared structure
- shuffles related defines into comm/Loops.h
- documents options better

- various other cosmetic syntax tweaks and polish

One bug fix:
  comm_dns_incoming was not being propigated in StatsHist copy/clone.
  Now is. I seem to remember mention of something similar being zero before,
  but can't find the bug report.
34 files changed:
src/AccessLogEntry.h
src/ICP.h
src/Makefile.am
src/ProtoPort.cc [deleted file]
src/StatCounters.h
src/acl/Acl.cc
src/acl/MyPortName.cc
src/anyp/Makefile.am
src/anyp/PortCfg.cc [new file with mode: 0644]
src/anyp/PortCfg.h [moved from src/ProtoPort.h with 81% similarity]
src/cache_cf.cc
src/cf.data.depend
src/cf.data.pre
src/client_side.cc
src/client_side.h
src/client_side_reply.cc
src/client_side_request.cc
src/comm/Loops.h
src/comm/ModPoll.cc
src/comm/ModSelect.cc
src/comm/ModSelectWin32.cc
src/defines.h
src/globals.h
src/htcp.cc
src/htcp.h
src/icp_v2.cc
src/main.cc
src/neighbors.cc
src/protos.h
src/snmp_core.cc
src/stat.cc
src/structs.h
src/tools.cc
src/win32.cc