Compartilhar via


HSE_REQ_ABORTIVE_CLOSE

This support function can be used to request that IIS use an abortive shutdown sequence to close the TCP/IP connection socket when disconnecting the current connection. Unsent data in the send buffer is flushed.

IIS 5.1 and later: This server support function is deprecated. If it is called, IIS ignores the call.

BOOL ServerSupportFunction(
      HCONN ConnID,
      DWORD dwServerSupportFunction,
      LPVOID lpvBuffer,
      LPDWORD lpdwSizeofBuffer,
      LPDWORD lpdwDataType
);

Parameters

  • ConnID
    Specifies the connection identifier of the client to which the response data should be sent.

  • dwServerSupportFunction
    The name of the Server Support function, which in this case must be set to HSE_REQ_ABORTIVE_CLOSE.

  • lpvBuffer
    Unused in this ServerSupportFunction request type.

  • lpdwSizeofBuffer
    Unused in this ServerSupportFunction request type.

  • lpdwDataType
    Unused in this ServerSupportFunction request type.

Remarks

Abortive closure is one type of closure that can be performed by the TCP/IP socket layer. As soon as this command is received, data flow is immediately cut off, the socket's virtual circuit is reset, and any data remaining in the TCP/IP stack is deleted. Compared to the other type of TCP/IP socket closure, graceful closure, abortive closure generally performs much better.

Requirements

Client: Requires Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

Header: Declared in httpext.h.