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

Function set_request_connection

modules/proxy/mod_proxy_hcheck.c:416–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414}
415
416static void set_request_connection(request_rec *r, conn_rec *conn)
417{
418 conn->bucket_alloc = apr_bucket_alloc_create(r->pool);
419 r->connection = conn;
420
421 r->kept_body = apr_brigade_create(r->pool, conn->bucket_alloc);
422 r->output_filters = r->proto_output_filters = conn->output_filters;
423 r->input_filters = r->proto_input_filters = conn->input_filters;
424
425 r->useragent_addr = conn->client_addr;
426 r->useragent_ip = conn->client_ip;
427}
428
429static void create_hcheck_req(wctx_t *wctx, proxy_worker *hc,
430 apr_pool_t *p)

Callers 2

hc_check_cpingFunction · 0.85
hc_check_httpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected