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

Function http_hdr_reason_get

src/proxy/hdrs/HTTP.cc:764–770  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

762 -------------------------------------------------------------------------*/
763
764const char *
765http_hdr_reason_get(HTTPHdrImpl *hh, int *length)
766{
767 ink_assert(hh->m_polarity == HTTP_TYPE_RESPONSE);
768 *length = hh->u.resp.m_len_reason;
769 return (hh->u.resp.m_ptr_reason);
770}
771
772/*-------------------------------------------------------------------------
773 -------------------------------------------------------------------------*/

Callers 1

reason_getMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected