diff options
author | John Newbery <john@johnnewbery.com> | 2017-04-10 10:27:36 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2017-04-10 17:05:59 -0400 |
commit | 4d9950d3bc72d92a0ee9a33ab3b77e097eb77354 (patch) | |
tree | 8f90e8eb86ddbb1980beb7a361a0d08bedf4f9cb /src/httpserver.h | |
parent | e19586a8a95502ce0f9fb8319ca6456c2ce161b3 (diff) |
Set BCLog::LIBEVENT correctly for old libevent versions.
Diffstat (limited to 'src/httpserver.h')
-rw-r--r-- | src/httpserver.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/httpserver.h b/src/httpserver.h index b55b253bea..6be9950682 100644 --- a/src/httpserver.h +++ b/src/httpserver.h @@ -32,6 +32,10 @@ void InterruptHTTPServer(); /** Stop HTTP server */ void StopHTTPServer(); +/** Change logging level for libevent. Removes BCLog::LIBEVENT from logCategories if + * libevent doesn't support debug logging.*/ +bool UpdateHTTPServerLogging(bool enable); + /** Handler for requests to a certain HTTP path */ typedef std::function<bool(HTTPRequest* req, const std::string &)> HTTPRequestHandler; /** Register handler for prefix. |