Hi, > -----Original Message----- > From: C. Benson Manica [mailto:cbman...@gmail.com] > Sent: Thursday, December 5, 2013 6:54 PM > To: Tomcat Users List > Subject: Re: Transfer-Encoding: chunked not working > > The content I expect is in the neighborhood of 30K. What I get back is > > $ curl -i http://localhost:8080/ > > HTTP/1.1 200 OK^M > Server: Apache-Coyote/1.1^M > Set-Cookie: JSESSIONID=6ED488F581B8D3317261ADA2AD97CC20; Path=/; > HttpOnly^M > Content-Type: text/html;charset=UTF-8^M > Transfer-Encoding: chunked^M > Date: Thu, 05 Dec 2013 17:47:22 GMT^M > ^M > > > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " > http://www.w3.org/TR/html4/loose.dtd"> > <!-- intervening content elided --> > var s > > i.e., it just ends 16384 bytes into the full content of the page. This > behavior also happens when I load the page in Chrome, so it's not just some > oddity of curl. > > I'm not using a tool to inspect traffic, because if it becomes that > troublesome to debug a default install, I'm probably just going to use > jetty. (full disclosure: I *am* now using jetty, with the same web > application, and not running into any issues, so whatever's going on is in > Tomcat world.)
Can you show what exactly you are doing in your web application to generate the response? I cannot reproduce the problem with a simple servlet that e.g. writes 30000 bytes to the response with Tomcat 7.0.47. Regards, Konstantin Preißer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org