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 |
Default | htcp_port 4827 |
Example | htcp_port 9999 |
Related | icp_port, http_port, udp_incoming_address, udp_outgoing_address, cache_peer |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access