htcp_port

htcp_port

The Hypertext Caching Protocol is an alternative to ICP. It provides better security and better cache hit predictions. However, HTCP messages are larger and more complicated. HTCP must be enabled at compile-time with the enable-htcp option.

This directive specifies the UDP port Squid uses to send and receive HTCP queries and replies. You may only specify one HTCP port number. As with ICP, the udp_incoming_address and udp_outgoing_address directives also control HTCP packets.

You may configure Squid to receive both ICP and HTCP queries at the same time. Setting htcp_port to 0 disables HTCP.

Syntax

htcp_port port

Default

htcp_port 4827

Example

htcp_port 9999

Related

icp_port, http_port, udp_incoming_address, udp_outgoing_address, cache_peer



    Appendix A. Config File Reference