Re: Possible bug with Transfer-Encoding: chunked on Tomcat 8.5.9

2017-01-11 Thread Mark Thomas
On 10/01/2017 10:54, Enrico Olivelli wrote: > I have found a work-around for my case. > The original code of my servlet was like this: > > ObjectMapper mapper = new ObjectMapper(); // Jackson Mapper > mapper.readValue(request.getInputStream(), "utf-8") > > I have added a buffer to hold all the

Re: Possible bug with Transfer-Encoding: chunked on Tomcat 8.5.9

2017-01-10 Thread Enrico Olivelli
I have found a work-around for my case. The original code of my servlet was like this: ObjectMapper mapper = new ObjectMapper(); // Jackson Mapper mapper.readValue(request.getInputStream(), "utf-8") I have added a buffer to hold all the request: byte[] content = readFully(request.getInputStream

Possible bug with Transfer-Encoding: chunked on Tomcat 8.5.9

2017-01-09 Thread Enrico Olivelli
Hi, I am upgrading from Tomcat 8.0.33 to 8.5.9. I have the following error during a POST made with Apache-HttpClient 4.3.6 I this this is the bad "POST" FINE Jan 09, 2017 3:45:15 PM org.apache.coyote.http11.Http11InputBuffer parseRequestLine BUONO: Received [POST /majordodo HTTP/1.1 Transfer-Enco