]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/ProtoPort.h
4 #ifndef SQUID_PROTO_PORT_H
5 #define SQUID_PROTO_PORT_H
7 //#include "typedefs.h"
10 struct http_port_list
{
11 http_port_list(const char *aProtocol
);
17 char *protocol
; /* protocol name */
18 char *name
; /* visible name */
19 char *defaultsite
; /* default web site */
21 unsigned int intercepted
:1; /**< intercepting proxy port */
22 unsigned int spoof_client_ip
:1; /**< spoof client ip if possible */
23 unsigned int accel
:1; /**< HTTP accelerator */
24 unsigned int vhost
:1; /**< uses host header */
25 unsigned int sslBump
:1; /**< intercepts CONNECT requests */
27 int vport
; /* virtual port support, -1 for dynamic, >0 static*/
28 bool connection_auth_disabled
; /* Don't support connection oriented auth */
29 int disable_pmtu_discovery
;
34 unsigned int interval
;
39 // XXX: temporary hack to ease move of SSL options to http_port
57 CBDATA_CLASS2(http_port_list
);
63 struct https_port_list
: public http_port_list
{
69 #endif /* SQUID_PROTO_PORT_H */