| 7440 | } |
| 7441 | |
| 7442 | void |
| 7443 | HttpSM::setup_client_request_plugin_agents(HttpTunnelProducer *p, int num_header_bytes) |
| 7444 | { |
| 7445 | APIHook *agent = txn_hook_get(TS_HTTP_REQUEST_CLIENT_HOOK); |
| 7446 | has_active_request_plugin_agents = agent != nullptr; |
| 7447 | while (agent) { |
| 7448 | INKVConnInternal *contp = static_cast<INKVConnInternal *>(agent->m_cont); |
| 7449 | tunnel.add_consumer(contp, p->vc, &HttpSM::tunnel_handler_plugin_agent, HT_HTTP_CLIENT, "request plugin agent", |
| 7450 | num_header_bytes); |
| 7451 | // We don't put these in the SM VC table because the tunnel |
| 7452 | // will clean them up in do_io_close(). |
| 7453 | agent = agent->next(); |
| 7454 | } |
| 7455 | } |
| 7456 | |
| 7457 | inline void |
| 7458 | HttpSM::transform_cleanup(TSHttpHookID hook, HttpTransformInfo *info) |
no test coverage detected