Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

how to disable Transfer-Coding: Chunked ?

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  ASP Form repeatedly prompts for login  
Author Message
Pierre Bru

External


Since: Aug 28, 2006
Posts: 9



(Msg. 1) Posted: Mon Nov 06, 2006 4:24 pm
Post subject: how to disable Transfer-Coding: Chunked ?
Archived from groups: microsoft>public>inetserver>iis (more info?)

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 ? 
Back to top
Login to vote
David Wang

External


Since: Dec 22, 2006
Posts: 560



(Msg. 2) Posted: Mon Nov 06, 2006 4:25 pm
Post subject: Re: how to disable Transfer-Coding: Chunked ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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?



//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 ? 
Back to top
Login to vote
David Wang

External


Since: Dec 22, 2006
Posts: 560



(Msg. 3) Posted: Thu Nov 09, 2006 1:00 pm
Post subject: Re: how to disable Transfer-Coding: Chunked ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 ? 
Back to top
Login to vote
Pierre Bru

External


Since: Aug 28, 2006
Posts: 9



(Msg. 4) Posted: Thu Nov 09, 2006 4:01 pm
Post subject: Re: how to disable Transfer-Coding: Chunked ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 ? 
Back to top
Login to vote
David Wang

External


Since: Dec 22, 2006
Posts: 560



(Msg. 5) Posted: Mon Nov 13, 2006 2:59 am
Post subject: Re: how to disable Transfer-Coding: Chunked ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If you can provide an ASP page and IIS configuration that shows the
missing terminating chunk, please do that - it would be sufficient to
open a support case with Microsoft PSS for a bug fix (which are free).


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//


Pierre Bru wrote:
> David Wang wrote:
> > 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?
>
> unfortunately, I am sure that the last chunk is missing (I checked all
> the packets with Ethereal with a direct connection to the server,
> without any proxy). the browser do their best effort to display even
> hill formed content so the page still sows.
>
> I have a good idea (but I'm not completely sure) why the page does not
> show thru the proxy.
>
> > 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
>
> I will try that.
>
> > 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.
>
> Pierre.
>
> >
> > //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 ? 
Back to top
Login to vote
Pierre Bru

External


Since: Aug 28, 2006
Posts: 9



(Msg. 6) Posted: Mon Nov 13, 2006 10:49 am
Post subject: Re: how to disable Transfer-Coding: Chunked ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

David Wang wrote:
> 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?

unfortunately, I am sure that the last chunk is missing (I checked all
the packets with Ethereal with a direct connection to the server,
without any proxy). the browser do their best effort to display even
hill formed content so the page still sows.

I have a good idea (but I'm not completely sure) why the page does not
show thru the proxy.

> 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

I will try that.

> 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.

Pierre.

>
> //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 ? 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]