> From: David Brown [mailto:captki...@gmail.com] > Subject: Re: JK connector and extra characters showing up > > Now here's what I'm seeing. In dump A (tomcat jk) in > packet 2 at line 00c0 look at the end of the line's > hex. It's 03 1f f8 40. Pay attention to the 1f f8, > it shows up latter.
Rainer already told you what the problem is; the webapp is violating the HTTP spec: > > It *seems* your application sends a Content-Length header > > and does chunked encoding at the same time. That's an > > invalid response. Your Apache snippet shows that it clears > > that up by dropping the Content-Length header. The SunONE > > snippet shows that combination send both variants and > > confuses the client. > > > > The root cause though would sit in your webapp, which needs > > to decide to send Content-Length only if it is not doing > > Transfer-Encoding chunked. httpd cleans up your error, but SunONE isn't that smart. Fix your webapp. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org