How do I disable HTTP persistence on the ProxySG?
search cancel

How do I disable HTTP persistence on the ProxySG?

book

Article ID: 166078

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

By default TCP connections are persistent for HTTP traffic. 

Resolution

You can disable persistent TCP connections for HTTP traffic two ways:

Disable persistent connections through the CLI for client HTTP connections:

sg-prompt> en

sg-prompt# conf t

sg-prompt# (config) http no persistent client <cr>

and for server HTTP connections:

sg-prompt# (config) http no persistent server <cr>

(Note: remove the "no" from the commands above to enable persistent connections)

 

Disable persistent connections using policy:

 
Example1: Disabling Client Persistent Connections

<proxy>

url.domain=example.com http.client.persistence(no)


 

Example2: Disabling Server Persistent Connections

<proxy>

url.domain=example.com http.server.persistence(no)



(Note: change the (no) to (yes) to enable persistent connections)

 

Be aware that the configuration changes through the CLI affect all connections.  Using policy you can be more specific on how persistent connections are used.

In most cases, disabling persistent connections globally is not necessary.