users@grizzly.java.net

CometWriter assumes Transfer-Encoding: chunked

From: Richard Zschech <richard.zschech_at_velsys.com>
Date: Thu, 21 Jan 2010 14:59:55 +1030

Hi All,

 

CometWriter assumes that the HTTP response is using "Transfer-Encoding:
chunked".

 

In some cases Glassfish decides to respond with "Connection: close"
where the user agent detects the end of the HTTP response from the
connection closing rather than using HTTP keep alive and chunking .

 

Looking at the code there is no way to configure this.

 

Shall I raise this as a bug?

 

From Richard.