Skip to content

v0.2.55..v0.2.56 changeset HttpTestServer.cpp

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core-test/src/test/cpp/hoot/core/util/HttpTestServer.cpp b/hoot-core-test/src/test/cpp/hoot/core/util/HttpTestServer.cpp
index ad030d7..e964bf5 100644
--- a/hoot-core-test/src/test/cpp/hoot/core/util/HttpTestServer.cpp
+++ b/hoot-core-test/src/test/cpp/hoot/core/util/HttpTestServer.cpp
@@ -109,7 +109,8 @@ void HttpTestServer::stop()
   //  Interupt the threads
   _interupt = true;
   //  Close the acceptor
-  _acceptor->close();
+  boost::system::error_code ec;
+  _acceptor->close(ec);
   //  Stop the IO service
   _io_service.stop();
 }
Clone this wiki locally