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

Function h2_c1_pre_close

modules/http2/h2_c1.c:206–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206apr_status_t h2_c1_pre_close(struct h2_conn_ctx_t *ctx, conn_rec *c)
207{
208 h2_conn_ctx_t *conn_ctx = h2_conn_ctx_get(c);
209
210 if (conn_ctx && conn_ctx->session) {
211 apr_status_t status = h2_session_pre_close(conn_ctx->session, async_mpm);
212 return (status == APR_SUCCESS)? DONE : status;
213 }
214 return DONE;
215}
216
217int h2_c1_allows_direct(conn_rec *c)
218{

Callers 1

h2_c1_hook_pre_closeFunction · 0.85

Calls 1

h2_session_pre_closeFunction · 0.85

Tested by

no test coverage detected