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

Method timeout

plugins/multiplexer/fetcher.h:135–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133 }
134
135 void
136 timeout(const int64_t t)
137 {
138 assert(t >= 0);
139 assert(vconnection_ != NULL);
140 if (timeout_) {
141 TSVConnActiveTimeoutCancel(vconnection_);
142 timeout_ = false;
143 } else {
144 TSVConnActiveTimeoutSet(vconnection_, t);
145 timeout_ = true;
146 }
147 }
148
149 static void
150 close(Self *const s)

Callers 2

handleMethod · 0.45
getFunction · 0.45

Calls 2

TSVConnActiveTimeoutSetFunction · 0.85

Tested by

no test coverage detected