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

Method destroyParser

plugins/multiplexer/fetcher.cc:27–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace ats
26{
27void
28HttpParser::destroyParser()
29{
30 if (parser_ != nullptr) {
31 TSHttpParserClear(parser_);
32 TSHttpParserDestroy(parser_);
33 parser_ = nullptr;
34 }
35}
36
37bool
38HttpParser::parse(io::IO &io)

Callers

nothing calls this directly

Calls 2

TSHttpParserClearFunction · 0.85
TSHttpParserDestroyFunction · 0.85

Tested by

no test coverage detected