Home

Traffic Server Software Developers Kit

INKVConnClosedGet

Gets a closed vconnection.

Prototype

INKReturnCode INKVConnClosedGet (INKVConn connp)

Description

Retrieves the closed status for a vconnection.

INKVConnClosedGet is intended to be used by vconnection implementors and not by vconnection users. It is not safe for a vconnection user to call INKVConnClosedGet because if the vconnection actually is closed, then it is possible (and likely) it will/can be deallocated at any time.

[Note] Note

This API can be used ONLY on transformation VConnections. NEVER use it on Cache VConnections, Net VConnections or any other type of VConnection.

Returns

INK_SUCCESS if successful.

INK_ERROR if an error occurs.