FAQ

How do I disable HTTP persistence on the SG?

FAQ ID:    FAQ279
Version:    1.0
Status:    Published
Published date:    07/28/2009
 

Answer

By default TCP connections are persistent for HTTP traffic.  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:

http.client.persistence(no)

Example:

<proxy>

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

http.server.persistence(no)

Example:

<proxy>

url.domain=yahoo.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 persistency globally is not necessary


Rate this Page

Please take a moment to complete this form to help us better serve you.

Did this document help answer your question?
 
 
If you are finished providing feedback, please click the RATE CONTENT button. Otherwise, please add more detail in the following text box and then click RATE CONTENT.
 
 

Your response will be used to improve our document content.

Ask a Question