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

Function h2_conn_ctx_assign_session

modules/http2/h2_conn_ctx.c:71–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void h2_conn_ctx_assign_session(h2_conn_ctx_t *ctx, struct h2_session *session)
72{
73 ctx->session = session;
74 ctx->id = apr_psprintf(session->pool, "%d-%lu", session->child_num, (unsigned long)session->id);
75}
76
77apr_status_t h2_conn_ctx_init_for_c2(h2_conn_ctx_t **pctx, conn_rec *c2,
78 struct h2_mplx *mplx, struct h2_stream *stream,

Callers 1

h2_c1_setupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected