ISAPI Filter Stops Responding When HttpFilterProc Returns SF_STATUS_REQ_READ_NEXT

ID: Q239439


The information in this article applies to:
  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Services version 5.0


SUMMARY

When the return code SF_STATUS_REQ_READ_NEXT is used, the ISAPI filter stops responding any time a request is received over SSL.

This behavior is by design.


MORE INFORMATION

Returning this code means that the filter wants IIS to suspend normal filter processing and wait for more data from the client. If the client sends more data, all read raw data filters (in priority order) are called up to the filter that used the return code. If the client does not send more data, IIS waits until the connection times out. The Sspifilt.dll filter uses this return code to get a full chunk of the SSL packet for decryption and then returns SF_STATUS_REQ_NEXT_NOTIFICATION. At this point, the filter is called (assuming lower priority) and appears to stop responding because there is no more data sent to the filter.

In the situation above, two filters use this return code; one of them inevitably ends up waiting for data that won't ever arrive. Because the IIS encryption filter Sspifilt.dll uses it any time a request is received over SSL, the filter stops responding any time SSL is used.

This return code should not be used unless the filter accomplishes tasks similar to SSL or is a stream compression filter. Please note that using this return value to retrieve POSTed data in a filter is incorrect and should not be attempted.

Additional query words:

Keywords : kbGrpInetServer
Version : winnt:4.0,5.0
Platform : winnt
Issue type : kbhowto


Last Reviewed: February 2, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.