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

Method schedule_retransmit

src/proxy/http2/Http2ConnectionState.cc:2190–2200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2188}
2189
2190void
2191Http2ConnectionState::schedule_retransmit(ink_hrtime t)
2192{
2193 Http2StreamDebug(session, 0, "Scheduling retransmitting data frames");
2194 SCOPED_MUTEX_LOCK(lock, this->mutex, this_ethread());
2195
2196 if (retransmit_event == nullptr) {
2197 SET_HANDLER(&Http2ConnectionState::main_event_handler);
2198 retransmit_event = this_ethread()->schedule_in(static_cast<Continuation *>(this), t, HTTP2_SESSION_EVENT_XMIT);
2199 }
2200}
2201
2202void
2203Http2ConnectionState::cancel_retransmit()

Callers 1

xmitMethod · 0.80

Calls 2

this_ethreadFunction · 0.85
schedule_inMethod · 0.45

Tested by

no test coverage detected