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

Method abort_write

include/proxy/http/HttpCacheSM.h:190–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188 }
189
190 void
191 abort_write()
192 {
193 if (cache_write_vc) {
194 Metrics::Gauge::decrement(http_rsb.current_cache_connections);
195 cache_write_vc->do_io_close(0); // passing zero as aborting write is not an error
196 cache_write_vc = nullptr;
197 }
198 }
199
200 void
201 close_write()

Callers 1

Calls 1

do_io_closeMethod · 0.45

Tested by

no test coverage detected