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

Function ThreadHTTP

src/httpserver.cpp:268–275  ·  view source on GitHub ↗

Event dispatcher thread */

Source from the content-addressed store, hash-verified

266
267/** Event dispatcher thread */
268static void ThreadHTTP(struct event_base* base, struct evhttp* http)
269{
270 RenameThread("bitcoin-http");
271 LogPrint("http", "Entering http event loop\n");
272 event_base_dispatch(base);
273 // Event loop will be interrupted by InterruptHTTPServer()
274 LogPrint("http", "Exited http event loop\n");
275}
276
277/** Bind HTTP server to specified addresses */
278static bool HTTPBindAddresses(struct evhttp* http)

Callers

nothing calls this directly

Calls 1

RenameThreadFunction · 0.85

Tested by

no test coverage detected