Closes a vconnection and specifies that operations being performing were aborted.
INKReturnCode INKVConnAbort (INKVConn
connp
, int
error
)
Closes the vconnection
and specifies that
the operations it was performing were aborted. The vconnection
will be deallocated at some point in the near future, after connp
INKVConnAbort
is called. After
calling INKVConnClose
, a user will not
receive any more events from
. For most
vconnections, connp
INKVConnClose
and
INKVConnAbort
perform identical operations; a potential difference is that when a vconnection is aborted, the
vconnection implementor can decide to do something special. For
example, a vconnection writing a file to disk might decide to
delete the file.
INK_SUCCESS
if the connection is successfully
aborted.
INK_ERROR
if an error occurs.