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

Function http_hdr_reason_set

src/proxy/hdrs/HTTP.cc:775–780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

773 -------------------------------------------------------------------------*/
774
775void
776http_hdr_reason_set(HdrHeap *heap, HTTPHdrImpl *hh, const char *value, int length, bool must_copy)
777{
778 ink_assert(hh->m_polarity == HTTP_TYPE_RESPONSE);
779 mime_str_u16_set(heap, value, length, &(hh->u.resp.m_ptr_reason), &(hh->u.resp.m_len_reason), must_copy);
780}
781
782/*-------------------------------------------------------------------------
783 -------------------------------------------------------------------------*/

Callers 2

http_parser_parse_respFunction · 0.85
reason_setMethod · 0.85

Calls 1

mime_str_u16_setFunction · 0.85

Tested by

no test coverage detected