Home
last modified time | relevance | path

Searched refs:TSHttpTxnHookAdd (Results 1 – 25 of 76) sorted by relevance

1234

/dports/www/trafficserver/trafficserver-9.1.1/plugins/lua/
H A Dts_lua_hook.c112 TSHttpTxnHookAdd(http_ctx->txnp, TS_HTTP_SEND_REQUEST_HDR_HOOK, http_ctx->cinfo.contp); in ts_lua_add_hook()
124 TSHttpTxnHookAdd(http_ctx->txnp, TS_HTTP_READ_RESPONSE_HDR_HOOK, http_ctx->cinfo.contp); in ts_lua_add_hook()
136 TSHttpTxnHookAdd(http_ctx->txnp, TS_HTTP_SEND_RESPONSE_HDR_HOOK, http_ctx->cinfo.contp); in ts_lua_add_hook()
148 TSHttpTxnHookAdd(http_ctx->txnp, TS_HTTP_READ_REQUEST_HDR_HOOK, http_ctx->cinfo.contp); in ts_lua_add_hook()
160 TSHttpTxnHookAdd(http_ctx->txnp, TS_HTTP_TXN_START_HOOK, http_ctx->cinfo.contp); in ts_lua_add_hook()
172 TSHttpTxnHookAdd(http_ctx->txnp, TS_HTTP_PRE_REMAP_HOOK, http_ctx->cinfo.contp); in ts_lua_add_hook()
184 TSHttpTxnHookAdd(http_ctx->txnp, TS_HTTP_POST_REMAP_HOOK, http_ctx->cinfo.contp); in ts_lua_add_hook()
196 TSHttpTxnHookAdd(http_ctx->txnp, TS_HTTP_OS_DNS_HOOK, http_ctx->cinfo.contp); in ts_lua_add_hook()
208 TSHttpTxnHookAdd(http_ctx->txnp, TS_HTTP_READ_CACHE_HDR_HOOK, http_ctx->cinfo.contp); in ts_lua_add_hook()
236 TSHttpTxnHookAdd(http_ctx->txnp, TS_HTTP_REQUEST_TRANSFORM_HOOK, connp); in ts_lua_add_hook()
[all …]
/dports/www/trafficserver/trafficserver-9.1.1/tests/tools/plugins/
H A Dssl_hook_test.cc301 TSHttpTxnHookAdd(txn, TS_VCONN_START_HOOK, cb); in setup_callbacks()
310 TSHttpTxnHookAdd(txn, TS_VCONN_START_HOOK, cb); in setup_callbacks()
319 TSHttpTxnHookAdd(txn, TS_SSL_CLIENT_HELLO_HOOK, cb); in setup_callbacks()
328 TSHttpTxnHookAdd(txn, TS_SSL_CLIENT_HELLO_HOOK, cb); in setup_callbacks()
337 TSHttpTxnHookAdd(txn, TS_SSL_SERVERNAME_HOOK, cb); in setup_callbacks()
346 TSHttpTxnHookAdd(txn, TS_SSL_CERT_HOOK, cb); in setup_callbacks()
355 TSHttpTxnHookAdd(txn, TS_SSL_CERT_HOOK, cb); in setup_callbacks()
365 TSHttpTxnHookAdd(txn, TS_VCONN_CLOSE_HOOK, cb); in setup_callbacks()
374 TSHttpTxnHookAdd(txn, TS_VCONN_OUTBOUND_START_HOOK, cb); in setup_callbacks()
383 TSHttpTxnHookAdd(txn, TS_VCONN_OUTBOUND_START_HOOK, cb); in setup_callbacks()
[all …]
H A Dcustom204plugin.cc85 TSHttpTxnHookAdd(txnp, TS_HTTP_SEND_RESPONSE_HDR_HOOK, contp); in local_handler()
125 TSHttpTxnHookAdd(txnp, TS_HTTP_PRE_REMAP_HOOK, txn_contp); in global_handler()
126 TSHttpTxnHookAdd(txnp, TS_HTTP_TXN_CLOSE_HOOK, txn_contp); in global_handler()
H A Dhook_add_plugin.cc73 TSHttpTxnHookAdd(txnp, TS_HTTP_PRE_REMAP_HOOK, txn_contp); in sessionHandler()
74 TSHttpTxnHookAdd(txnp, TS_HTTP_TXN_CLOSE_HOOK, txn_contp); in sessionHandler()
H A Dtest_hooks.cc123 TSHttpTxnHookAdd(txn, TS_HTTP_READ_REQUEST_HDR_HOOK, tCont); in sessionContFunc()
124 TSHttpTxnHookAdd(txn, TS_HTTP_TXN_CLOSE_HOOK, tCont); in sessionContFunc()
/dports/www/trafficserver/trafficserver-9.1.1/plugins/experimental/collapsed_forwarding/
H A Dcollapsed_forwarding.cc258 TSHttpTxnHookAdd(rh, TS_HTTP_SEND_REQUEST_HDR_HOOK, cont); in setup_transaction_cont()
259 TSHttpTxnHookAdd(rh, TS_HTTP_SEND_RESPONSE_HDR_HOOK, cont); in setup_transaction_cont()
260 TSHttpTxnHookAdd(rh, TS_HTTP_READ_RESPONSE_HDR_HOOK, cont); in setup_transaction_cont()
261 TSHttpTxnHookAdd(rh, TS_HTTP_OS_DNS_HOOK, cont); in setup_transaction_cont()
262 TSHttpTxnHookAdd(rh, TS_HTTP_TXN_CLOSE_HOOK, cont); in setup_transaction_cont()
/dports/www/trafficserver/trafficserver-9.1.1/plugins/experimental/rate_limit/
H A Dtxn_limiter.cc75 TSHttpTxnHookAdd(txnp, TS_HTTP_TXN_CLOSE_HOOK, contp); in txn_queue_cont()
91 TSHttpTxnHookAdd(txnp, TS_HTTP_SEND_RESPONSE_HDR_HOOK, contp); in txn_queue_cont()
164 TSHttpTxnHookAdd(txnp, hook, cont); in setupTxnCont()
/dports/www/trafficserver/trafficserver-9.1.1/plugins/experimental/money_trace/
H A Dmoney_trace.cc89 TSHttpTxnHookAdd(txnp, TS_HTTP_SEND_REQUEST_HDR_HOOK, contp); in mt_cache_lookup_check()
97 TSHttpTxnHookAdd(txnp, TS_HTTP_SEND_RESPONSE_HDR_HOOK, contp); in mt_cache_lookup_check()
133 TSHttpTxnHookAdd(txnp, TS_HTTP_CACHE_LOOKUP_COMPLETE_HOOK, contp); in mt_check_request_header()
134 TSHttpTxnHookAdd(txnp, TS_HTTP_TXN_CLOSE_HOOK, contp); in mt_check_request_header()
/dports/www/trafficserver/trafficserver-9.1.1/doc/developer-guide/api/functions/
H A DTSHttpHookAdd.en.rst36 .. function:: void TSHttpTxnHookAdd(TSHttpTxn txnp, TSHttpHookID id, TSCont contp)
61 :func:`TSHttpTxnHookAdd` adds :arg:`contp`
64 not possible to call :func:`TSHttpTxnHookAdd` from the plugin
83 continuation was added to the hook using :func:`TSHttpTxnHookAdd`, :func:`TSHttpSsnHookAdd`
117 TSHttpTxnHookAdd(txnp, TS_HTTP_READ_REQUEST_HDR_HOOK, contp);
/dports/www/trafficserver/trafficserver-9.1.1/doc/locale/ja/LC_MESSAGES/developer-guide/api/functions/
H A DTSHttpHookAdd.en.po97 ":func:`TSHttpTxnHookAdd` adds :arg:`contp` to the end of the list of HTTP "
99 "transaction, it is not possible to call :func:`TSHttpTxnHookAdd` from the "
103 ":func:`TSHttpTxnHookAdd` は :arg:`contp` を :arg:`id` で指定された HTTP トラ"
105 "ンに追加されるので、プラグインの初期化ルーチンから :func:`TSHttpTxnHookAdd` "
/dports/www/trafficserver/trafficserver-9.1.1/plugins/cache_range_requests/
H A Dcache_range_requests.cc259 TSHttpTxnHookAdd(txnp, TS_HTTP_SEND_REQUEST_HDR_HOOK, txn_contp); in range_header_check()
260 TSHttpTxnHookAdd(txnp, TS_HTTP_SEND_RESPONSE_HDR_HOOK, txn_contp); in range_header_check()
261 TSHttpTxnHookAdd(txnp, TS_HTTP_TXN_CLOSE_HOOK, txn_contp); in range_header_check()
265 TSHttpTxnHookAdd(txnp, TS_HTTP_CACHE_LOOKUP_COMPLETE_HOOK, txn_contp); in range_header_check()
295 TSHttpTxnHookAdd(txnp, TS_HTTP_READ_RESPONSE_HDR_HOOK, contp); in handle_send_origin_request()
/dports/www/trafficserver/trafficserver-9.1.1/example/plugins/c-api/denylist_1/
H A Ddenylist_1.c114 TSHttpTxnHookAdd(txnp, TS_HTTP_SEND_RESPONSE_HDR_HOOK, contp); in handle_dns()
301 TSHttpTxnHookAdd(txnp, TS_HTTP_OS_DNS_HOOK, txn_contp); in handle_txn_start()
302 TSHttpTxnHookAdd(txnp, TS_HTTP_TXN_CLOSE_HOOK, txn_contp); in handle_txn_start()
/dports/www/trafficserver/trafficserver-9.1.1/plugins/experimental/sslheaders/
H A Dsslheaders.cc320 TSHttpTxnHookAdd(txn, TS_HTTP_SEND_REQUEST_HDR_HOOK, hdr->cont); in TSRemapDoRemap()
324 TSHttpTxnHookAdd(txn, TS_HTTP_READ_REQUEST_HDR_HOOK, hdr->cont); in TSRemapDoRemap()
325 TSHttpTxnHookAdd(txn, TS_HTTP_SEND_REQUEST_HDR_HOOK, hdr->cont); in TSRemapDoRemap()
/dports/www/trafficserver/trafficserver-9.1.1/plugins/experimental/mp4/
H A Dmp4.cc146 TSHttpTxnHookAdd(rh, TS_HTTP_CACHE_LOOKUP_COMPLETE_HOOK, contp); in TSRemapDoRemap()
147 TSHttpTxnHookAdd(rh, TS_HTTP_READ_RESPONSE_HDR_HOOK, contp); in TSRemapDoRemap()
148 TSHttpTxnHookAdd(rh, TS_HTTP_TXN_CLOSE_HOOK, contp); in TSRemapDoRemap()
286 TSHttpTxnHookAdd(txnp, TS_HTTP_RESPONSE_TRANSFORM_HOOK, connp); in mp4_add_transform()
/dports/www/trafficserver/trafficserver-9.1.1/example/plugins/c-api/server_transform/
H A Dserver_transform.c604 TSHttpTxnHookAdd(txnp, TS_HTTP_READ_CACHE_HDR_HOOK, contp); in transform_plugin()
605 TSHttpTxnHookAdd(txnp, TS_HTTP_READ_RESPONSE_HDR_HOOK, contp); in transform_plugin()
611 TSHttpTxnHookAdd(txnp, TS_HTTP_RESPONSE_TRANSFORM_HOOK, transform_create(txnp)); in transform_plugin()
617 TSHttpTxnHookAdd(txnp, TS_HTTP_RESPONSE_TRANSFORM_HOOK, transform_create(txnp)); in transform_plugin()
/dports/www/trafficserver/trafficserver-9.1.1/plugins/prefetch/
H A Dplugin.cc741 TSHttpTxnHookAdd(txnp, TS_HTTP_POST_REMAP_HOOK, cont); in TSRemapDoRemap()
742 TSHttpTxnHookAdd(txnp, TS_HTTP_CACHE_LOOKUP_COMPLETE_HOOK, cont); in TSRemapDoRemap()
743 TSHttpTxnHookAdd(txnp, TS_HTTP_SEND_RESPONSE_HDR_HOOK, cont); in TSRemapDoRemap()
744 TSHttpTxnHookAdd(txnp, TS_HTTP_TXN_CLOSE_HOOK, cont); in TSRemapDoRemap()
/dports/www/trafficserver/trafficserver-9.1.1/doc/developer-guide/plugins/hooks-and-transactions/
H A Dhttp-transactions.en.rst128 TSHttpTxnHookAdd(txnp, TS_HTTP_READ_REQUEST_HDR_HOOK, txn_contp);
129 TSHttpTxnHookAdd(txnp, TS_HTTP_TXN_CLOSE_HOOK, txn_contp);
178 - :c:func:`TSHttpTxnHookAdd`
/dports/www/trafficserver/trafficserver-9.1.1/tests/gold_tests/pluginTest/tsapi/
H A Dtest_tsapi.cc214 TSHttpTxnHookAdd(txn, TS_HTTP_READ_REQUEST_HDR_HOOK, tCont); in globalContFunc()
215 TSHttpTxnHookAdd(txn, TS_HTTP_SEND_REQUEST_HDR_HOOK, tCont); in globalContFunc()
/dports/www/trafficserver/trafficserver-9.1.1/example/plugins/c-api/server_push/
H A Dserver_push.c81 TSHttpTxnHookAdd(txnp, TS_HTTP_READ_REQUEST_HDR_HOOK, contp); in server_push_plugin()
/dports/www/trafficserver/trafficserver-9.1.1/doc/developer-guide/plugins/example-plugins/denylist/
H A Dsetting-up-a-transaction-hook.en.rst38 TSHttpTxnHookAdd (txnp,
59 #. A transaction hook is added with ``TSHttpTxnHookAdd``; the plugin is
/dports/www/trafficserver/trafficserver-9.1.1/src/tscpp/api/
H A DTransactionPlugin.cc99 TSHttpTxnHookAdd(state_->ats_txn_handle_, hook_id, state_->cont_); in registerHook()
/dports/www/trafficserver/trafficserver-9.1.1/plugins/compress/
H A Dcompress.cc815 TSHttpTxnHookAdd(txnp, TS_HTTP_RESPONSE_TRANSFORM_HOOK, connp); in compress_transform_add()
880 TSHttpTxnHookAdd(txnp, TS_HTTP_READ_RESPONSE_HDR_HOOK, contp); in transform_plugin()
897 TSHttpTxnHookAdd(txnp, TS_HTTP_SEND_REQUEST_HDR_HOOK, contp); in transform_plugin()
956 TSHttpTxnHookAdd(txnp, TS_HTTP_CACHE_LOOKUP_COMPLETE_HOOK, transform_contp); in handle_request()
957 TSHttpTxnHookAdd(txnp, TS_HTTP_TXN_CLOSE_HOOK, transform_contp); // To release the config in handle_request()
/dports/www/trafficserver/trafficserver-9.1.1/plugins/experimental/cache_fill/
H A Dcache_fill.cc182 TSHttpTxnHookAdd(txnp, TS_HTTP_CACHE_LOOKUP_COMPLETE_HOOK, cont); in TSRemapDoRemap()
/dports/www/trafficserver/trafficserver-9.1.1/plugins/cache_promote/
H A Dcache_promote.cc166 TSHttpTxnHookAdd(rh, TS_HTTP_CACHE_LOOKUP_COMPLETE_HOOK, contp); in TSRemapDoRemap()
/dports/www/trafficserver/trafficserver-9.1.1/example/plugins/c-api/request_buffer/
H A Drequest_buffer.c112TSHttpTxnHookAdd(txnp, TS_HTTP_REQUEST_BUFFER_READ_COMPLETE_HOOK, TSContCreate(request_buffer_plug… in global_plugin()

1234