MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / StopAccepting

Method StopAccepting

src/httpserver.h:277–277  ·  view source on GitHub ↗

* Stop accepting new connections in the I/O loop. * Must be called first in StopHTTPServer() before DisconnectAllClients(). * A connection accepted after the "wait for 0 connections" loop exits would * remain in m_connected when the destructor is called. */

Source from the content-addressed store, hash-verified

275 * remain in m_connected when the destructor is called.
276 */
277 void StopAccepting() { m_stop_accepting = true; }
278
279 /**
280 * Set the idle client timeout (-rpcservertimeout)

Callers 1

StopHTTPServerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected