|
|
@ -267,7 +267,7 @@ static void http_request_cb(struct evhttp_request* req, void* arg) |
|
|
|
/** Event dispatcher thread */ |
|
|
|
static void ThreadHTTP(struct event_base* base, struct evhttp* http) |
|
|
|
{ |
|
|
|
RenameThread("bitcoin-http"); |
|
|
|
RenameThread("zcash-http"); |
|
|
|
LogPrint("http", "Entering http event loop\n"); |
|
|
|
event_base_dispatch(base); |
|
|
|
// Event loop will be interrupted by InterruptHTTPServer()
|
|
|
@ -316,7 +316,7 @@ static bool HTTPBindAddresses(struct evhttp* http) |
|
|
|
/** Simple wrapper to set thread name and run work queue */ |
|
|
|
static void HTTPWorkQueueRun(WorkQueue<HTTPClosure>* queue) |
|
|
|
{ |
|
|
|
RenameThread("bitcoin-httpworker"); |
|
|
|
RenameThread("zcash-httpworker"); |
|
|
|
queue->Run(); |
|
|
|
} |
|
|
|
|
|
|
|