diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-06-08 10:04:39 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2017-06-08 10:04:39 (GMT) |
commit | 809c2b9021fb3e96b1db705938aeb16ba97b4e73 (patch) | |
tree | 4aecd9d1d8c903290d6fdb419760bf09a9a7a4d1 /src | |
parent | e9b78b546baf50149d121c96df823d44a709a97c (diff) | |
download | uscxml-809c2b9021fb3e96b1db705938aeb16ba97b4e73.zip uscxml-809c2b9021fb3e96b1db705938aeb16ba97b4e73.tar.gz uscxml-809c2b9021fb3e96b1db705938aeb16ba97b4e73.tar.bz2 |
Reverted libevent API usage
Diffstat (limited to 'src')
-rw-r--r-- | src/uscxml/server/HTTPServer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uscxml/server/HTTPServer.cpp b/src/uscxml/server/HTTPServer.cpp index 29dd9a6..22267dd 100644 --- a/src/uscxml/server/HTTPServer.cpp +++ b/src/uscxml/server/HTTPServer.cpp @@ -737,8 +737,8 @@ void HTTPServer::run(void* instance) { HTTPServer* INSTANCE = (HTTPServer*)instance; while(INSTANCE->_isRunning) { // getting this to be non-polling is somewhat tricky and changes among versions - event_base_loop(INSTANCE->_base, EVLOOP_ONCE | EVLOOP_NO_EXIT_ON_EMPTY); -// event_base_dispatch(INSTANCE->_base); +// event_base_loop(INSTANCE->_base, EVLOOP_ONCE | EVLOOP_NO_EXIT_ON_EMPTY); + event_base_dispatch(INSTANCE->_base); } LOGD(USCXML_INFO) << "HTTP Server stopped" << std::endl; } |