TSHttpHookID¶
Synopsis¶
#include <ts/apidefs.h>
Enum typedef defining the possible Hooks for setting up Continuations callbacks.
Enumeration Members¶
-
enum TSHttpHookID¶
-
enumerator TS_HTTP_READ_REQUEST_HDR_HOOK¶
-
enumerator TS_HTTP_REQUEST_BUFFER_READ_COMPLETE_HOOK¶
-
enumerator TS_HTTP_OS_DNS_HOOK¶
-
enumerator TS_HTTP_SEND_REQUEST_HDR_HOOK¶
-
enumerator TS_HTTP_READ_CACHE_HDR_HOOK¶
-
enumerator TS_HTTP_READ_RESPONSE_HDR_HOOK¶
-
enumerator TS_HTTP_SEND_RESPONSE_HDR_HOOK¶
-
enumerator TS_HTTP_REQUEST_TRANSFORM_HOOK¶
-
enumerator TS_HTTP_RESPONSE_TRANSFORM_HOOK¶
-
enumerator TS_HTTP_SELECT_ALT_HOOK¶
-
enumerator TS_HTTP_TXN_START_HOOK¶
-
enumerator TS_HTTP_TXN_CLOSE_HOOK¶
-
enumerator TS_HTTP_SSN_START_HOOK¶
-
enumerator TS_HTTP_SSN_CLOSE_HOOK¶
-
enumerator TS_HTTP_CACHE_LOOKUP_COMPLETE_HOOK¶
-
enumerator TS_HTTP_PRE_REMAP_HOOK¶
-
enumerator TS_HTTP_POST_REMAP_HOOK¶
-
enumerator TS_HTTP_RESPONSE_CLIENT_HOOK¶
-
enumerator TS_SSL_FIRST_HOOK¶
-
enumerator TS_VCONN_START_HOOK¶
-
enumerator TS_VCONN_OUTBOUND_START_HOOK¶
-
enumerator TS_VCONN_CLOSE_HOOK¶
-
enumerator TS_VCONN_OUTBOUND_CLOSE_HOOK¶
-
enumerator TS_SSL_CLIENT_HELLO_HOOK¶
-
enumerator TS_SSL_SNI_HOOK¶
-
enumerator TS_SSL_CERT_HOOK¶
-
enumerator TS_SSL_SERVERNAME_HOOK¶
-
enumerator TS_SSL_VERIFY_CLIENT_HOOK¶
-
enumerator TS_SSL_VERIFY_SERVER_HOOK¶
-
enumerator TS_SSL_LAST_HOOK¶
-
enumerator TS_HTTP_LAST_HOOK¶
-
enumerator TS_HTTP_READ_REQUEST_HDR_HOOK¶
Description¶
Note that TS_SSL_CERT_HOOK
and TS_SSL_SNI_HOOK
correspond to the same OpenSSL
callbacks. This is done for backwards compatibility. TS_SSL_SNI_HOOK
is expected
to be deprecated and removed, plugins using this should change to TS_SSL_CERT_HOOK
or
TS_SSL_SERVERNAME_HOOK
as appropriate.
Warning
OpenSSL 1.0.2 and later versions
TS_SSL_SERVERNAME_HOOK
is invoked for the OpenSSL servername callback.
TS_SSL_SNI_HOOK
and TS_SSL_CERT_HOOK
are invoked for the OpenSSL certificate
callback which is not guaranteed to be invoked for a TLS transaction.
This is a behavior change dependent on the version of OpenSSL. To avoid problems use
TS_SSL_SERVERNAME_HOOK
to get called back for all TLS transaction and
TS_SSL_CERT_HOOK
to get called back only to select a certificate.