MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / InterruptHTTPServer

Function InterruptHTTPServer

src/httpserver.cpp:414–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414void InterruptHTTPServer()
415{
416 LogPrint("http", "Interrupting HTTP server\n");
417 if (eventBase)
418 event_base_loopbreak(eventBase);
419 if (workQueue)
420 workQueue->Interrupt();
421}
422
423void StopHTTPServer()
424{

Callers 1

InterruptFunction · 0.85

Calls 1

InterruptMethod · 0.80

Tested by

no test coverage detected