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

Function http_hdr_version_set

src/proxy/hdrs/HTTP.cc:684–689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682}
683
684bool
685http_hdr_version_set(HTTPHdrImpl *hh, const HTTPVersion &ver)
686{
687 hh->m_version = ver;
688 return is_http1_version(ver.get_major(), ver.get_minor());
689}
690
691/*-------------------------------------------------------------------------
692 -------------------------------------------------------------------------*/

Callers 3

http_parser_parse_reqFunction · 0.85
http_parser_parse_respFunction · 0.85
version_setMethod · 0.85

Calls 3

is_http1_versionFunction · 0.85
get_majorMethod · 0.80
get_minorMethod · 0.80

Tested by

no test coverage detected