Home

Traffic Server Software Developers Kit

Action Functions

INKActionCancel

Cancels an action.

Prototype

INKReturnCode INKActionCancel (INKAction actionp)

Description

Cancels an INKAction. If a NULL argument is passed to INKActionCancel, then Traffic Server will crash and will not return INK_ERROR.
Note: it is the programmer’s responsibility to ensure that a non-null value is passed to INKActionCancel.

Returns

INK_SUCCESS if the action is successfully cancelled.

INK_ERROR if an error occurs.