You may experience issues where GET or POST requests through the Edge SWG (ProxySG) fail, time out, or experience significant delays when SSL Interception is enabled. This typically occurs even though policy traces indicate the proxy is receiving data from the server.
Symptoms include:
The issue is caused by the proxy attempting to buffer the HTTP response to perform content analysis, such as "apparent data type" identification or ICAP scanning.
Two specific triggers for this behavior are:
Transfer-Encoding: chunked but fails to send the required terminator, the proxy assumes more data is coming. It holds the payload (including redirect headers) until the connection is closed.To resolve the timeout or delay, you must configure the Edge SWG to immediately forward response headers and data to the client rather than holding or buffering it for inspection. The issue occurs because the proxy waits for enough response body data to perform policy evaluation, such as "apparent data type" checks. This waiting period can indefinitely delay continuous streams or responses where the server fails to properly terminate chunked encoding.
Apply the http.response.response_data.prevent_inspection_delay(yes) policy for the affected traffic. This policy instructs the proxy to proceed with sending the response headers to the client without waiting for response body data for policy inspection. It will skip response-based policies if the data is not immediately available and will always pass response data back to the client as soon as it arrives.
Important Note: Applying this policy means that response apparent data type checks may not work reliably for the affected responses, since the proxy will pass data back to the client as it arrives rather than waiting to accumulate enough data for policy evaluation.
<Proxy>url.domain=example.com http.response.response_data.prevent_inspection_delay(yes)
Note: Replace example.com with the specific domain identified in step 1.
Enabling prevent_inspection_delay(yes) may impact the reliability of policy checks that rely on "apparent data type" identification, as the proxy will no longer wait to accumulate enough data for a definitive identification before forwarding.