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

Function add_for_purge

modules/http2/h2_mplx.c:129–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129static int add_for_purge(h2_mplx *m, h2_stream *stream)
130{
131 int i;
132 for (i = 0; i < m->spurge->nelts; ++i) {
133 h2_stream *s = APR_ARRAY_IDX(m->spurge, i, h2_stream*);
134 if (s == stream) /* already scheduled for purging */
135 return FALSE;
136 }
137 APR_ARRAY_PUSH(m->spurge, h2_stream *) = stream;
138 return TRUE;
139}
140
141static void c1c2_stream_joined(h2_mplx *m, h2_stream *stream)
142{

Callers 2

c1c2_stream_joinedFunction · 0.85
m_stream_cleanupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected