Skip to content

v0.2.54..v0.2.55 changeset HttpTestServer.h

Garret Voltz edited this page Aug 14, 2020 · 1 revision
diff --git a/hoot-core-test/src/test/cpp/hoot/core/util/HttpTestServer.h b/hoot-core-test/src/test/cpp/hoot/core/util/HttpTestServer.h
index 7ab1113..b8e3b44 100644
--- a/hoot-core-test/src/test/cpp/hoot/core/util/HttpTestServer.h
+++ b/hoot-core-test/src/test/cpp/hoot/core/util/HttpTestServer.h
@@ -140,6 +140,8 @@ protected:
   void write_response(HttpConnection::HttpConnectionPtr& connection, const std::string& response);
   /** Get the value of the interupt flag */
   bool get_interupt() { return _interupt; }
+  /** Shutdown the thread but don't wait on it */
+  void stop();
 
 private:
   /** Function that starts the server listening and accepting connections */
Clone this wiki locally