Skip to main content
bkashava
Staff
Staff
Oct 14, 2026 9:26 AM UTC

FortiWeb drops Server-Sent Events responses when HTTP Header Security is enabled.

  • Oct 29, 2026 8:50 AM UTC
  • 0 replies
  • 52 views
  • Translate All

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.

<11:45:04> [Header Security][Debug]: (./waf_module/http_header_security.c:1027): hhs caching for CSP
<11:45:04> [Header Security][Mod_Dbg]: Module name:http_header_security, Execution:3, Process error:0, Action:CACHE
<11:45:06> [Header Security][Debug]: (./waf_module/http_header_security.c:1027): hhs caching for CSP
<11:45:06> [Header Security][Mod_Dbg]: Module name:http_header_security, Execution:3, Process error:0, Action:CACHE
<11:45:08> [Header Security][Debug]: (./waf_module/http_header_security.c:1027): hhs caching for CSP
<11:45:08> [Header Security][Mod_Dbg]: Module name:http_header_security, Execution:3, Process error:0, Action:CACHE
<11:45:10> [Header Security][Debug]: (./waf_module/http_header_security.c:1027): hhs caching for CSP


The hhs caching for CSP message and Action:CACHE indicate that the HTTP Header Security module is caching response data for Content Security Policy (CSP) processing. These messages provide a diagnostic indication of response caching.


Cause:

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.

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024