Feature #2309
closednot chunked fastcgi
Description
I would like to send Server-Sent-Events, and the standard suggests it is preferable to disable chunking.
In the Notes section of http://dev.w3.org/html5/eventsource/
"Authors are also cautioned that HTTP chunking can have unexpected negative effects on the reliability of this protocol. Where possible, chunking should be disabled for serving event streams unless the rate of messages is high enough for this not to matter."
I am using:
lighttpd/1.4.26 (ssl) - a light and fast webserver
Build-Date: Jul 18 2010 01:15:37
Thanks,
Wkr,
Tom
Files
Updated by stbuehler about 13 years ago
- Status changed from New to Invalid
if the client isn't capable of reading chunked encoding, it should use HTTP/1.0 instead of 1.1.
i see no reason to change anything on our side.
Updated by chris.kilgour over 9 years ago
- File prevent-chunked-transfer-encoding-for-server-sent-events.patch prevent-chunked-transfer-encoding-for-server-sent-events.patch added
The cited recommendation has nothing to do with HTTP protocol level, but rather a recommendation from W3C for server-sent events.
The attached patch defaults fastCGI applications responding with "Content-Type: text/event-stream" to disable chunked responses unless the "Transfer-Encoding: chunked" header is also present in the response.
Also available in: Atom