Event dispatcher thread */
| 266 | |
| 267 | /** Event dispatcher thread */ |
| 268 | static 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 */ |
| 278 | static bool HTTPBindAddresses(struct evhttp* http) |
nothing calls this directly
no test coverage detected