diff options
| author | John Newbery <[email protected]> | 2017-04-10 10:27:36 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2017-04-10 17:05:59 -0400 |
| commit | 4d9950d3bc72d92a0ee9a33ab3b77e097eb77354 (patch) | |
| tree | 8f90e8eb86ddbb1980beb7a361a0d08bedf4f9cb /src/httpserver.h | |
| parent | Merge #10135: [p2p] Send the correct error code in reject messages (diff) | |
| download | discoin-4d9950d3bc72d92a0ee9a33ab3b77e097eb77354.tar.xz discoin-4d9950d3bc72d92a0ee9a33ab3b77e097eb77354.zip | |
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 b55b253be..6be995068 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. |