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

Function h2_session_open_stream

modules/http2/h2_session.c:114–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114static h2_stream *h2_session_open_stream(h2_session *session, int stream_id,
115 int initiated_on)
116{
117 h2_stream * stream;
118 apr_pool_t *stream_pool;
119
120 apr_pool_create(&stream_pool, session->pool);
121 apr_pool_tag(stream_pool, "h2_stream");
122
123 stream = h2_stream_create(stream_id, stream_pool, session,
124 session->monitor, initiated_on);
125 if (stream) {
126 nghttp2_session_set_stream_user_data(session->ngh2, stream_id, stream);
127 }
128 return stream;
129}
130
131/**
132 * Determine the priority order of streams.

Callers 3

on_begin_headers_cbFunction · 0.85
h2_session_startFunction · 0.85
h2_session_pushFunction · 0.85

Calls 1

h2_stream_createFunction · 0.85

Tested by

no test coverage detected