Consider the following scenario:
- You install the module for ISAPI filters on a computer that is running Internet Information Services (IIS) 7.5.
- You add an ISAPI filter to a website that is hosted on the computer.
- The SF_NOTIFY_SEND_RAW_DATA notification is registered in the ISAPI filter.
For example, the ISAPI filter contains the following code:DWORD WINAPI HttpFilterProc( PHTTP_FILTER_CONTEXT pfc,DWORD dwNotificationType, LPVOID pvNotification) {
switch (dwNotificationType)
{
case SF_NOTIFY_SEND_RAW_DATA:
return SF_STATUS_REQ_NEXT_NOTIFICATION;
}
… - The website has a file that is larger than 256 megabytes (MB).
- You try to download this file from the website.
HTTP/1.1 500 Internal Server Error\r\n
Content-Length: <number>\r\n
Content-Type: application/octet-stream\r\n
Last-Modified: <Day, Date, Time> GMT\r\n
Accept-Ranges: bytes\r\n
ETag: "f61017e15eafca1:0"\r\n
Server: Microsoft-IIS/7.5\r\n
X-Powered-By: ASP.NET\r\n
Date: <Day, Date, Time>\r\n
\r\n
Entity Body: all <number>MB file being pushed back to client even 500 status had been sent.
Content-Length: <number>\r\n
Content-Type: application/octet-stream\r\n
Last-Modified: <Day, Date, Time> GMT\r\n
Accept-Ranges: bytes\r\n
ETag: "f61017e15eafca1:0"\r\n
Server: Microsoft-IIS/7.5\r\n
X-Powered-By: ASP.NET\r\n
Date: <Day, Date, Time>\r\n
\r\n
Entity Body: all <number>MB file being pushed back to client even 500 status had been sent.