Fix lots of little things that were undone by migrating Hush to KMD source code
This commit is contained in:
@@ -306,7 +306,7 @@ static void http_reject_request_cb(struct evhttp_request* req, void*)
|
||||
/** Event dispatcher thread */
|
||||
static void ThreadHTTP(struct event_base* base, struct evhttp* http)
|
||||
{
|
||||
RenameThread("zcash-http");
|
||||
RenameThread("hush-http");
|
||||
LogPrint("http", "Entering http event loop\n");
|
||||
event_base_dispatch(base);
|
||||
// Event loop will be interrupted by InterruptHTTPServer()
|
||||
@@ -355,7 +355,7 @@ static bool HTTPBindAddresses(struct evhttp* http)
|
||||
/** Simple wrapper to set thread name and run work queue */
|
||||
static void HTTPWorkQueueRun(WorkQueue<HTTPClosure>* queue)
|
||||
{
|
||||
RenameThread("zcash-httpworker");
|
||||
RenameThread("hush-httpworker");
|
||||
queue->Run();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user