Home

Traffic Server Software Developers Kit

INKVConnShutdown

Shuts down a vconnection.

Prototype

INKReturnCode INKVConnShutdown (INKVConn connp, int read, int write)

Description

Shuts down a portion of the vconnection connp. If read is non-zero, then the read portion of connp is also shut down. This indicates that the user does not want to be called back regarding any more read events on this vconnection. If write is non-zero, then the write portion of connp is shut down, indicating that the user does not want to be called back regarding any more write events on this vconnection.

Returns

INK_SUCCESS if the connection is successfully shut down.

INK_ERROR if an error occurs.