Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Forcing IIS v5.0 to not send a HTTP v1.1 reply as chunked

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  DSN Issues With IIS  
Author Message
wazzaljohn

External


Since: Dec 02, 2003
Posts: 1



(Msg. 1) Posted: Tue Dec 02, 2003 11:37 pm
Post subject: Forcing IIS v5.0 to not send a HTTP v1.1 reply as chunked
Archived from groups: microsoft>public>inetserver>iis (more info?)

I have been searching / reading many different messages regarding this
and haven't seen anyone with this situation / question:
- JAVA 1.4 client sends a well-formed xml request to an IIS v5.0
server. This is HTTP v1.1 and normal text sent with the
Content-Length: xxxx header (ie its not chunked).
- Server accepts and responds with small static xml message. A snoop
of this shows that its sending the message as Transfer-Encoded:
chunked.

Questions to here are:
1. How do you force IIS v5.0 to always send the reply as NOT chunked?
(I understand this is HTTP 1.1 compliant, but I'm interested to
determine if its possible to force ISS not to send this as chunked.
2. Does IIS have a default of either chunked or not (assuming HTTP
1.1)? What is the normal response?

The only other issue is that a snoop of the reply shows that IIS is
not sending the last zero-length chunk - its missing! This results in
an IOException in the JAVA code as its looking for it as part of
reading chunk messages for HTTP1.1. Does anyone know if this is a bug
in IIS or have experienced/heard of it before?

Thanks in advance.
Wazza

 >> Stay informed about: Forcing IIS v5.0 to not send a HTTP v1.1 reply as chunked 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 2) Posted: Wed Dec 03, 2003 12:00 am
Post subject: Re: Forcing IIS v5.0 to not send a HTTP v1.1 reply as chunked [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

How the client sends a request has NO bearing on how the response is sent.
i.e. with a client and server that is HTTP/1.1, there are four possible
combinations of content-length/chunked on request/response, and all are
valid.

IIS does not implement chunked encoding on response at all. It is up to the
request handler to chunk responses, if it wants to.

So, the answer to your question is:
1. IIS always sends back a non-chunked response. It's a ISAPI/CGI request
handler that sends back a chunked response
2. See #1

It appears that the URL sending the chunked response on the server is doing
it incorrectly.

To never see a chunked response from IIS, you either:
1. Send a HTTP/1.0 request
2. Make sure the ISAPI/CGI request handler on IIS does not send a chunked
response.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Wazza" <wazzaljohn RemoveThis @yahoo.co.uk> wrote in message
news:390fa3aa.0312022037.4d00187f@posting.google.com...
I have been searching / reading many different messages regarding this
and haven't seen anyone with this situation / question:
- JAVA 1.4 client sends a well-formed xml request to an IIS v5.0
server. This is HTTP v1.1 and normal text sent with the
Content-Length: xxxx header (ie its not chunked).
- Server accepts and responds with small static xml message. A snoop
of this shows that its sending the message as Transfer-Encoded:
chunked.

Questions to here are:
1. How do you force IIS v5.0 to always send the reply as NOT chunked?
(I understand this is HTTP 1.1 compliant, but I'm interested to
determine if its possible to force ISS not to send this as chunked.
2. Does IIS have a default of either chunked or not (assuming HTTP
1.1)? What is the normal response?

The only other issue is that a snoop of the reply shows that IIS is
not sending the last zero-length chunk - its missing! This results in
an IOException in the JAVA code as its looking for it as part of
reading chunk messages for HTTP1.1. Does anyone know if this is a bug
in IIS or have experienced/heard of it before?

Thanks in advance.
Wazza

 >> Stay informed about: Forcing IIS v5.0 to not send a HTTP v1.1 reply as chunked 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
IIS problem with secure chunked transfer - Hi IIS gurus, My Java applet sends large POST requests to an IIS 5.0 ISAPI extension using chunked transfer. This works fine for secure servers (defined as "Require SSL"). Alas, when I define the IIS virtual dir as "Require client certif...

Forcing a 2-way SSL - Hi, I have a problem that the server (servlet or ASP-page) needs the client certificate in order to do a proper verification of the client. If the server could force the setup of a 2-way SSL, the client-browser would prompt the user with a "choos...

Reply for an ASP page stops - When I request in IE http://LocalHost/ASPtest.ASP the IE status bar displays 'Website found, waiting for reply ...', the progressbar very slowly progresses to about 40% and stops. After that nothing happens. ASPtest.ASP is a simple test script, it only..

forcing Save As - Is there an IIS setting to force the remote browser to get the Save As dialog, instead of opening the file in browser? Or is this a client setting? TIA, Patrick

Forcing 128 bit encryption on web sites - Hello- I currently have a commerical web site. I would like the web server to only allow browsers with 128bit cipher strength to view the secure pages. How do I setup IIS to verify if the end user is not using 128bit cipher strength and return a..
   Web Hosting and Web Master Forums (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 ]