Optional: Configuring ASE persistent connections
You can optionally configure TCP keep-alive connections in the ase.conf
file of API Security Enforcer (ASE).
About this task
The following is a snippet of ase.conf
displaying the default enable_sideband_keepalive
variable. The default value is set to false
.
; enable connection keepalive for requests from gateway to ase. ; This setting is applicable only in sideband mode. ; Once enabled ase will add 'Connection: keep-alive' header in response ; Once disabled ase will add 'Connection: close' header in response enable_sideband_keepalive=false
If this variable is set to true
, then you must configure persistent connections in Axway Policy Studio:
Steps
-
In Axway Policy Studio, go to Environment Configuration → Listeners → API Gateway.
-
Click your ASE IP address in Sample Services.
-
In the Remote Host Settings pop-up window, clear the Allow HTTP 1.1check box.
-
Click the Include Content Length in request check box. Make sure all other check boxes are cleared.
-
Click OK and deploy the policy.