]> git.ipfire.org Git - thirdparty/squid.git/commit
Enable compile-time override for MAXTCPLISTENPORTS
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 29 Jul 2014 10:28:17 +0000 (22:28 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 29 Jul 2014 10:28:17 +0000 (22:28 +1200)
commit29fd5407790e2cdf79672e8087ae7b8f1daf2576
treed9a5f5e8de8e85fffc288056034e297da4fba033
parent9915890b6858f68cd2571a18dbc5fd44b4279365
Enable compile-time override for MAXTCPLISTENPORTS

MAXTCPLISTENPORTS controls the permitted number of http(s)_port which
may be configured. The hard-coded default is 128 ports.

This patch enables the use of CXXFLAGS="-DMAXTCPLISTENPORTS=n" to set a
new limit when building Squid.
src/anyp/PortCfg.h