tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilya goberman <>
Subject How to disable chunked encoding for the Http11NioProtocol connector.
Date Wed, 05 Jan 2011 05:04:09 GMT

I use NIO HTTP Tomcat connector org.apache.coyote.Http11NioProtocol to implement Comet streaming
to browsers and mobile devices.

I would like to disable HTTP response chunked encoding to reduce bandwidth.
The response will have header "Connection: close" with "Content-Length" header omitted.
Is there a way to do it besides having client send HTTP 1.0 request (that is not possible
in the majority of cases)?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message