Project

General

Profile

Feature #2309

not chunked fastcgi

Added by tdeseyn almost 9 years ago. Updated over 5 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-04-12
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:
No

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

#1

Updated by stbuehler almost 9 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.

#2

Updated by chris.kilgour over 5 years ago

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