Event dispatcher thread */
| 280 | } |
| 281 | /** Event dispatcher thread */ |
| 282 | static bool ThreadHTTP(struct event_base* base) |
| 283 | { |
| 284 | RenameThread("bitcoin-http"); |
| 285 | LogPrint("http", "Entering http event loop\n"); |
| 286 | event_base_dispatch(base); |
| 287 | // Event loop will be interrupted by InterruptHTTPServer() |
| 288 | LogPrint("http", "Exited http event loop\n"); |
| 289 | return event_base_got_break(base) == 0; |
| 290 | } |
| 291 | |
| 292 | /** Bind HTTP server to specified addresses */ |
| 293 | static bool HTTPBindAddresses(struct evhttp* http) |
nothing calls this directly
no test coverage detected