You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rainer Jung <ra...@kippdata.de> on 2009/09/02 20:54:52 UTC

Re: IIS isapi_redirect.dll chunked encoding option

On 21.08.2009 20:51, Andy Wang wrote:
> What are the general thoughts on the stability of the
> enable_chunked_encoding option for the IIS isapi redirector for tomcat
> and IIS?
> 
> We're running into a scenario where something is causing IIS to not send
> down the complete response.  Haven't figured out exactly the cause yet,
> but the symptoms are the browser never acknowledges a response was
> complete even though tomcat has fully written the response out through
> to the web server.  Wireshark captures show the last few packets not
> being sent so the response is just a little short of what's to be expected.
> 
> One thing we noticed was setting enable_chunked_encoding (with a
> redirectory built for chunked encoding of course) made everything work
> fine so I wanted to get a feel for just how experimental this really is
> and what the general consensus is on it's stability.

Difficult to answer. My feeling is, that the code is fine and the
original contributor Tim Whittington seemed to have used basically the
same code for quite some time.

On the other hand only having it in a separate binary will still prevent
most people to use it, so it might still not be used broadly out in the
field.

At least we are not aware of any problem with the chunked encoding code.

Regards,

Rainer

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


Re: IIS isapi_redirect.dll chunked encoding option

Posted by Rainer Jung <ra...@kippdata.de>.
On 02.09.2009 22:17, Andy Wang wrote:
> Rainer Jung wrote:
>> Difficult to answer. My feeling is, that the code is fine and the
>> original contributor Tim Whittington seemed to have used basically the
>> same code for quite some time.
>>
>> On the other hand only having it in a separate binary will still prevent
>> most people to use it, so it might still not be used broadly out in the
>> field.
>>
>> At least we are not aware of any problem with the chunked encoding code.
>>
>> Regards,
>>
>> Rainer
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>   
> Ranier,
> Thanks for the generally positive answer :).
> We're going to try to enable it out of the box on our IIS configurations
> and see how things go, so pretty soon, there'll be alot more machines
> potentially running with the chunked encoding option.
> 
> I haven't looked that closely at the code, but was there enough worry
> that it would cause side effects to make it a compile time AND a
> configuration option?

I would say no, the configuration option is there for the time when we
start having the chunked encoding code in by default.

You can also do easier debugging, if you can turn it off without
switching the binaries. Of course as long as the two binares are
separate, turning chunking on by default would have been the more
natural choice.

Regards,

Rainer

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


Re: IIS isapi_redirect.dll chunked encoding option

Posted by Andy Wang <aw...@ptc.com>.
Rainer Jung wrote:
> Difficult to answer. My feeling is, that the code is fine and the
> original contributor Tim Whittington seemed to have used basically the
> same code for quite some time.
>
> On the other hand only having it in a separate binary will still prevent
> most people to use it, so it might still not be used broadly out in the
> field.
>
> At least we are not aware of any problem with the chunked encoding code.
>
> Regards,
>
> Rainer
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>   
Ranier,
Thanks for the generally positive answer :).
We're going to try to enable it out of the box on our IIS configurations 
and see how things go, so pretty soon, there'll be alot more machines 
potentially running with the chunked encoding option.

I haven't looked that closely at the code, but was there enough worry 
that it would cause side effects to make it a compile time AND a 
configuration option?

Andy

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