tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Gerard <gger...@gmail.com>
Subject Re: How to disable chunking? [Tomcat 7]
Date Sun, 01 Mar 2015 01:56:41 GMT
Root cause?


> On Feb 28, 2015, at 15:20, Jaroslav Záruba <jaroslav.zaruba@gmail.com> 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't the reason why EventSource receives the
> message-less error.
> 
> Cheers
>  Jarda
> 
> On Sat, Feb 28, 2015 at 9:54 PM, Jaroslav Záruba <jaroslav.zaruba@gmail.com>
> wrote:
> 
>> 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 <Connector/> should help with that, but it just
>> does not seem to make any difference, the header is still there.
>> There used to be attribute "allowChunking" on <Connector/>, but that's
>> history.
>> 
>> Tested with 7.0.30 and now 7.0.59, Win7 64 bit.
>> 
>> Would anyone know please...?
>> 
>> JZ
>> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message