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

Function h2_session_push_enabled

modules/http2/h2_session.c:1331–1338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1329}
1330
1331int h2_session_push_enabled(h2_session *session)
1332{
1333 /* iff we can and they can and want */
1334 return (session->remote.accepting /* remote GOAWAY received */
1335 && h2_config_sgeti(session->s, H2_CONF_PUSH)
1336 && nghttp2_session_get_remote_settings(session->ngh2,
1337 NGHTTP2_SETTINGS_ENABLE_PUSH));
1338}
1339
1340static int h2_session_want_send(h2_session *session)
1341{

Callers 3

val_H2_PUSHFunction · 0.85
set_policy_forFunction · 0.85
h2_stream.cFile · 0.85

Calls 1

h2_config_sgetiFunction · 0.85

Tested by

no test coverage detected