Re: Abort a download
- From: "muriwai" <muriwai@xxxxxxxxxxxxx>
- Date: Mon, 28 May 2007 19:06:18 +1200
Hi Steven,
This looks like a bug in Internet Explorer when it offers an incomplete
download to a user, even though Content-Length does not match the actual
file length. According to
http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.4, Content-Length
takes precedence over the server closing the connection. I'd pass this along
to the IE team.
Thanks
--
"Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:njw2ABPoHHA.1428@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi Michael,
Based on my test, when you turn off buffer of the page resposne, it will
write out response headers at initial flush so that after the server-side
close or terminate the connection, the client-side will just act like the
response output finished. I've tried through exception or abort response
or
worker thread but haven't got any effect. I think this due to the
ASP.NET's
control over response is at a high application level that doen't deep
enough for the raw HTTP communication. For your scenario, you may consider
some IIS isapi filter solution as it can help much more control over the
underlying http communication.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
.
- Follow-Ups:
- Re: Abort a download
- From: Steven Cheng[MSFT]
- Re: Abort a download
- References:
- Re: Abort a download
- From: Michael Nemtsev
- Re: Abort a download
- From: Michael Nemtsev
- Re: Abort a download
- From: Steven Cheng[MSFT]
- Re: Abort a download
- Prev by Date: Detecting which page opened current page, how?
- Next by Date: Re: Detecting which page opened current page, how?
- Previous by thread: Re: Abort a download
- Next by thread: Re: Abort a download
- Index(es):
Relevant Pages
|