FortiWeb drops Server-Sent Events responses when HTTP Header Security is enabled.
Description | Why FortiWeb may buffer and drop Server-Sent Events (SSE) responses when HTTP Header Security (HHS) is enabled without any rules configured. |
Scope | FortiWeb deployments using SSE over HTTP or HTTPS. |
Solution | Symptoms: SSE responses with the Content-Type header set to text/event-stream are received from the backend server but are not forwarded to the client. The issue may occur when the HTTP Header Security module is enabled, even when no rules are configured. Debug output: The following debug messages were observed in the affected environment.
The HTTP Header Security module may buffer response data during CSP processing, interfering with the incremental delivery of SSE responses. FortiWeb supports general SSE traffic through the normal HTTP/HTTPS server policy and web protection profile. A separate SSE enablement setting is not required. Resolution: Upgrade FortiWeb to a release containing the fix. The issue is listed as resolved in FortiWeb 7.6.6 and 8.0.3. |
