case SF_NOTIFY_SEND_RAW_DATA:
dwRet = _auth->OnSendRawData(pfc, (PHTTP_FILTER_RAW_DATA)
pvData);
break;
case SF_NOTIFY_END_OF_REQUEST:
dwRet = _auth->OnEndOfRequest(pfc);
break;
When client cancel the downloading process of a big file(120M) from the
server,
the OnSendRawData filter behaviour differently.
In IIS5, after cancelled the downloading process, the OnSendRawData is
nolonger called, as I anticipated.
But in IIS6, the filter is continoully called tens of thousands of
times(5xxxx times).It seems IIS don't know the connection is over and
continue sending the the file untill all the file is sent.
Is this a bug?
Please help.
--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
<wan...@gmail.com> wrote in message
news:1125827934.6...@g43g2000cwa.googlegroups.com...
iis6 uses a new kernel mode driver (http.sys) to handle http requests. this
driver does extensive buffering of data send via "WriteClient()" even if the
client is no longer connected. therefore the "WriteClient()" returns always
true, also if the client has died away in between. iss5 "WriteClient()"
returned false in these cases.
by the way. look for a thread here named "WriteClient on IIS6.0 (SP1)"
wade did a reply to explain the situation exactly. unfortunately he didn't
had a idea do go around.
greetings from germany,
markus
<wan...@gmail.com> schrieb im Newsbeitrag
news:1125827934.6...@g43g2000cwa.googlegroups.com...
Yongming Wang