Re: How to disable chunking? [Tomcat 7]

2015-02-28 Thread Jaroslav Záruba
t; > > On Feb 28, 2015, at 15:20, Jaroslav Záruba > wrote: > > > > Hello again :) > > > > Apparently adding Connection: close" header to my response prevents the > > "evil" heaqder to be added. > > And it turns out the header isn&#x

Re: How to disable chunking? [Tomcat 7]

2015-02-28 Thread Jaroslav Záruba
Hello again :) Apparently adding Connection: close" header to my response prevents the "evil" heaqder to be added. And it turns out the header isn't the reason why EventSource receives the message-less error. Cheers Jarda On Sat, Feb 28, 2015 at 9:54 PM, Jaroslav Zár

How to disable chunking? [Tomcat 7]

2015-02-28 Thread Jaroslav Záruba
Hello I'm trying to set-up an EventSource servlet, yet Tomcat seems to be adding "Transfer-Encoding: chunked" header to my responses, so they trigger the onerror handler on my EventSource object. According to some, setting org.apache.coyote.http11.Http11NioProtocol as the protocol on my http sho