MCPcopy Create free account
hub / github.com/apache/trafficserver / ~HttpTransaction

Method ~HttpTransaction

plugins/multiplexer/fetcher.h:87–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 ChunkDecoder *chunkDecoder_;
86
87 ~HttpTransaction()
88 {
89 if (in_ != NULL) {
90 delete in_;
91 in_ = NULL;
92 }
93 if (out_ != NULL) {
94 delete out_;
95 out_ = NULL;
96 }
97 timeout(0);
98 assert(vconnection_ != NULL);
99 if (abort_) {
100 TSVConnAbort(vconnection_, TS_VC_CLOSE_ABORT);
101 } else {
102 TSVConnClose(vconnection_);
103 }
104 assert(continuation_ != NULL);
105 TSContDestroy(continuation_);
106 if (chunkDecoder_ != NULL) {
107 delete chunkDecoder_;
108 }
109 }
110
111 HttpTransaction(TSVConn v, TSCont c, io::IO *const i, const uint64_t l, const T &t)
112 : parsingHeaders_(false),

Callers

nothing calls this directly

Calls 3

TSVConnAbortFunction · 0.85
TSVConnCloseFunction · 0.85
TSContDestroyFunction · 0.85

Tested by

no test coverage detected