Are you sure the problem is ASP not sending the last chunk block?
Because a browser would hang if it does not get the last chunk block,
and a bug like this would hit so many people around the world by now
that it would be well-known... How about a bug in the Proxy that
intermittently swallows chunks?
Because I have never heard of this issue with ASP, but I have heard of
several issues with popular Proxies corrupting requests/responses in
exactly the manner you describe.
For ASP, you have two ways to control Chunking:
1. AspEnableChunkedEncoding metabase property is used by ASP to
determine if it will chunk at all
2. Set Response.Buffer = true in the ASP page. This will enable
buffering and turn off chunking
If you still see chunking after performing the above steps, then you
have something else running on the server that is chunking. It may not
be configurable.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
Pierre Bru wrote:
> David Wang wrote:
> > There is no IIS configuration to enable nor disable chunked-encoding.
> >
> > The chunking behavior completely depends on the Application Framework
> > you are using.
> >
> > For example, ASP is an Application Framework running on IIS that has
> > its own metabase properties to control chunking. But that is
> > ASP-specific; there is no IIS "behavior" to enable chunking for
> > arbitrary responses, and it may not be possible nor desirable.
> >
> > Why do you want to disable chunked-encoding?
>
> in answers from the server, the "last chunk block" (in RFC parlance) is
> missing and this cause problem when used thru some proxy that do enforce
> too much RFC compliance :/
>
> BTW, I use ASP.
>
> Pierre.
>
> >
> > //David
> > http://w3-4u.blogspot.com
> > http://blogs.msdn.com/David.Wang
> > //
> >
> >
> >
> > Pierre Bru wrote:
> >> hi,
> >>
> >> I found many tutorial on how to enable Transfer-Coding: Chunked but none
> >> on how to disable it...
> >>
> >> any idea ?
> >>
> >> TIA,
> >> Pierre.
> > >> Stay informed about: how to disable Transfer-Coding: Chunked ?