| 7425 | } |
| 7426 | |
| 7427 | void |
| 7428 | HttpSM::setup_client_response_plugin_agents(HttpTunnelProducer *p, int num_header_bytes) |
| 7429 | { |
| 7430 | APIHook *agent = txn_hook_get(TS_HTTP_RESPONSE_CLIENT_HOOK); |
| 7431 | has_active_response_plugin_agents = agent != nullptr; |
| 7432 | while (agent) { |
| 7433 | INKVConnInternal *contp = static_cast<INKVConnInternal *>(agent->m_cont); |
| 7434 | tunnel.add_consumer(contp, p->vc, &HttpSM::tunnel_handler_plugin_agent, HT_HTTP_CLIENT, "response plugin agent", |
| 7435 | num_header_bytes); |
| 7436 | // We don't put these in the SM VC table because the tunnel |
| 7437 | // will clean them up in do_io_close(). |
| 7438 | agent = agent->next(); |
| 7439 | } |
| 7440 | } |
| 7441 | |
| 7442 | void |
| 7443 | HttpSM::setup_client_request_plugin_agents(HttpTunnelProducer *p, int num_header_bytes) |
no test coverage detected