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

Method abort_read

include/proxy/http/HttpCacheSM.h:180–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178 }
179
180 void
181 abort_read()
182 {
183 if (cache_read_vc) {
184 Metrics::Gauge::decrement(http_rsb.current_cache_connections);
185 cache_read_vc->do_io_close(0); // passing zero as aborting read is not an error
186 cache_read_vc = nullptr;
187 }
188 }
189
190 void
191 abort_write()

Callers

nothing calls this directly

Calls 1

do_io_closeMethod · 0.45

Tested by

no test coverage detected