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.
extern AnyP::PortCfgPointer HttpsPortList;
#endif
+#if !defined(MAXTCPLISTENPORTS)
// Max number of TCP listening ports
#define MAXTCPLISTENPORTS 128
+#endif
// TODO: kill this global array. Need to check performance of array vs list though.
extern int NHttpSockets;