* 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. */
| 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) |