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

Function h2_stream_is_ready

modules/http2/h2_stream.c:1277–1288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1275}
1276
1277int h2_stream_is_ready(h2_stream *stream)
1278{
1279 /* Have we sent a response or do we have the response in our buffer? */
1280 H2_STRM_ASSERT_MAGIC(stream, H2_STRM_MAGIC_OK);
1281 if (stream->response) {
1282 return 1;
1283 }
1284 else if (stream->out_buffer && get_first_response_bucket(stream->out_buffer)) {
1285 return 1;
1286 }
1287 return 0;
1288}
1289
1290int h2_stream_wants_send_data(h2_stream *stream)
1291{

Callers 7

set_error_responseFunction · 0.85
h2_stream_add_headerFunction · 0.85
h2_stream_end_headersFunction · 0.85
m_report_stream_iterFunction · 0.85
m_unexpected_stream_iterFunction · 0.85
c1_process_streamFunction · 0.85

Calls 1

Tested by

no test coverage detected