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

Method setReason

plugins/slice/HttpHeader.cc:103–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103bool
104HttpHeader::setReason(char const *const valstr, int const vallen)
105{
106 if (isValid()) {
107 return TS_SUCCESS == TSHttpHdrReasonSet(m_buffer, m_lochdr, valstr, vallen);
108 } else {
109 return false;
110 }
111}
112
113char const *
114HttpHeader::getCharPtr(CharPtrGetFunc func, int *const len) const

Callers 2

handleFirstServerHeaderFunction · 0.80
form416HeaderAndBodyFunction · 0.80

Calls 1

TSHttpHdrReasonSetFunction · 0.85

Tested by

no test coverage detected