MCPcopy Create free account
hub / github.com/apache/trafficserver / open_prewarmed_connection

Method open_prewarmed_connection

src/proxy/http/HttpSM.cc:5344–5356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5342}
5343
5344void
5345HttpSM::open_prewarmed_connection()
5346{
5347 NetVConnection *netvc = _prewarm_sm->move_netvc();
5348 ink_release_assert(_prewarm_sm->handler == &PreWarmSM::state_closed);
5349
5350 SMDbg(dbg_ctl_http_ss, "using pre-warmed tunnel netvc=%p", netvc);
5351
5352 t_state.current.retry_attempts.clear();
5353
5354 ink_release_assert(default_handler == HttpSM::default_handler);
5355 handleEvent(NET_EVENT_OPEN, netvc);
5356}
5357
5358//////////////////////////////////////////////////////////////////////////
5359//

Callers

nothing calls this directly

Calls 2

move_netvcMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected