persistent-connections

This command controls the negotiation of persistent connections for the HTTP handler.

Syntax

persistent-connections on

persistent-connections off

Parameters

on
Enables the negotiation of persistent connections. This setting is the default value.
off
Disables the negotiation of persistent connections.

Guidelines

The persistent-connections command controls the negotiation of persistent connections.
  • When enabled, negotiates with the remote peer and establishes a persistent connection if agreeable to the peer.
  • When disabled, does not attempt to negotiate the establishment of persistent connections.

When enabled, use the max-persistent-reuse command to set the maximum number of times a persistent client-side connection is reused.

The HTTP/2 protocol controls persistent connections and reuse. Therefore, when the protocol is HTTP/2, these settings are ignored.