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

Function add_te_chunked

modules/proxy/mod_proxy_http.c:246–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246static void add_te_chunked(apr_pool_t *p,
247 apr_bucket_alloc_t *bucket_alloc,
248 apr_bucket_brigade *header_brigade)
249{
250 apr_bucket *e;
251 char *buf;
252 const char te_hdr[] = "Transfer-Encoding: chunked" CRLF;
253
254 buf = apr_pmemdup(p, te_hdr, sizeof(te_hdr)-1);
255 ap_xlate_proto_to_ascii(buf, sizeof(te_hdr)-1);
256
257 e = apr_bucket_pool_create(buf, sizeof(te_hdr)-1, p, bucket_alloc);
258 APR_BRIGADE_INSERT_TAIL(header_brigade, e);
259}
260
261static void add_cl(apr_pool_t *p,
262 apr_bucket_alloc_t *bucket_alloc,

Callers 1

ap_proxy_http_prefetchFunction · 0.85

Calls 1

ap_xlate_proto_to_asciiFunction · 0.85

Tested by

no test coverage detected