Home

Traffic Server Software Developers Kit

INKContDestroy

Destroys a continuation.

Prototype

INKReturnCode INKContDestroy (INKCont contp)

Description

Destroys the continuation contp. INKContDestroy is used to destroy both continuations and vconnections. The internal continuation data structures are destroyed, but it's not guaranteed that there are no outstanding references to this continuation.

Returns

INK_SUCCESS if the continuation is successfully destroyed.

INK_ERROR if an error occurs.