MCPcopy Create free account
hub / github.com/apache/httpd / ping_reuse_session

Function ping_reuse_session

modules/http2/h2_proxy_session.c:155–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155static void ping_reuse_session(h2_proxy_session *session)
156{
157 if (H2_PING_ST_NONE == session->ping_state) {
158 apr_interval_time_t age = apr_time_now() - session->last_frame_received;
159 if (age > apr_time_from_sec(1)) {
160 enter_ping_state(session, H2_PING_ST_AWAIT_PING);
161 }
162 }
163}
164
165static void ping_ev_frame_received(h2_proxy_session *session, const nghttp2_frame *frame)
166{

Callers 1

h2_proxy_session_setupFunction · 0.85

Calls 1

enter_ping_stateFunction · 0.85

Tested by

no test coverage detected