MCPcopy Create free account
hub / github.com/apache/trafficserver / build_response

Method build_response

src/proxy/http/HttpTransact.cc:7824–7829  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7822// build a (status_code) response based upon the given info
7823
7824void
7825HttpTransact::build_response(State *s, HTTPHdr *base_response, HTTPHdr *outgoing_response, HTTPVersion outgoing_version)
7826{
7827 build_response(s, base_response, outgoing_response, outgoing_version, HTTP_STATUS_NONE, nullptr);
7828 return;
7829}
7830
7831void
7832HttpTransact::build_response(State *s, HTTPHdr *outgoing_response, HTTPVersion outgoing_version, HTTPStatus status_code,

Callers

nothing calls this directly

Calls 15

http_hdr_reason_lookupFunction · 0.85
response_url_remapFunction · 0.85
dump_headerFunction · 0.85
presenceMethod · 0.80
field_findMethod · 0.80
value_appendMethod · 0.80
has_dupsMethod · 0.80
reason_getMethod · 0.80
get_ua_txnMethod · 0.80
get_proxy_ssnMethod · 0.80
state_machine_idMethod · 0.80

Tested by

no test coverage detected