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

Function submit_trailers

modules/http2/h2_proxy_session.c:984–992  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

982}
983
984static apr_status_t submit_trailers(h2_proxy_stream *stream)
985{
986 h2_proxy_ngheader *hd;
987 int rv;
988
989 hd = h2_proxy_util_nghd_make(stream->pool, stream->r->trailers_in);
990 rv = nghttp2_submit_trailer(stream->session->ngh2, stream->id, hd->nv, hd->nvlen);
991 return rv == 0? APR_SUCCESS: APR_EGENERAL;
992}
993
994static apr_status_t feed_brigade(h2_proxy_session *session, apr_bucket_brigade *bb)
995{

Callers 1

stream_request_dataFunction · 0.85

Calls 1

h2_proxy_util_nghd_makeFunction · 0.85

Tested by

no test coverage detected