Name

htcp_port

Synopsis

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

Get Squid: The Definitive Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.