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

Function h2_stream_wants_send_data

modules/http2/h2_stream.c:1290–1296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1288}
1289
1290int h2_stream_wants_send_data(h2_stream *stream)
1291{
1292 H2_STRM_ASSERT_MAGIC(stream, H2_STRM_MAGIC_OK);
1293 return h2_stream_is_ready(stream) &&
1294 ((stream->out_buffer && !APR_BRIGADE_EMPTY(stream->out_buffer)) ||
1295 (stream->output && !h2_beam_empty(stream->output)));
1296}
1297
1298int h2_stream_is_at(const h2_stream *stream, h2_stream_state_t state)
1299{

Callers 1

m_stream_want_send_dataFunction · 0.85

Calls 2

h2_stream_is_readyFunction · 0.85
h2_beam_emptyFunction · 0.85

Tested by

no test coverage detected