https://issues.apache.org/bugzilla/show_bug.cgi?id=50494
Summary: Need to add ability to disable chunked encoding or support HTTP 1.0 response. Product: Tomcat 7 Version: 7.0.5 Platform: PC OS/Version: All Status: NEW Severity: critical Priority: P2 Component: Connectors AssignedTo: dev@tomcat.apache.org ReportedBy: gober...@msn.com I use NIO HTTP Tomcat connector org.apache.coyote.Http11NioProtocol to implement Comet streaming to browsers and mobile devices. The application opens 'primary' persistent Comet connection to receive data from the server. Server sends data to the client periodically. Currently, the response always uses HTTP 1.1 type response with chunked encoding. There could be a legitimate reason to disable chunked encoding - use "Connection: close" without "Content-Length" headers. For example, if I use tomcat to implement EventType streaming with Chrome, it does not like chunked encoding and fails to receive any data. Also, chunked encoding increases network bandwidth. One way to disable chunked encoding (and actually the one I would prefer) is to force HTTP 1.0 response. So my questions are: 1) is it possible to force HTTP 1.0 response 2) is it possible to use HTTP 1.1 response, but disable chunked encoding. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org