MCPcopy Create free account
hub / github.com/3rdparty/libprocess / foreachvalue

Method foreachvalue

src/http.cpp:2174–2176  ·  view source on GitHub ↗

NOTE: we know that no more sockets will be accepted because the accept loop is on `self()` and we're in `finalize()`.

Source from the content-addressed store, hash-verified

2172 // NOTE: we know that no more sockets will be accepted because
2173 // the accept loop is on `self()` and we're in `finalize()`.
2174 foreachvalue (Client& client, clients) {
2175 client.serving.discard();
2176 }
2177
2178 clients.clear();
2179 }

Callers

nothing calls this directly

Calls 1

discardMethod · 0.45

Tested by

no test coverage detected