From d705a8402a6a919f9f2b221b5cc6ed6b99a7d28a Mon Sep 17 00:00:00 2001 From: Angelo Mantellini Date: Thu, 4 Jun 2020 13:15:16 +0200 Subject: [HICN-624] http proxy proxy does not stop Signed-off-by: Angelo Mantellini Change-Id: I810a983190ca273acc4be9bc2c1895b53b9c524d --- apps/http-proxy/src/http_proxy.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/http-proxy/src/http_proxy.cc b/apps/http-proxy/src/http_proxy.cc index 4afa5b832..4484b5a1a 100644 --- a/apps/http-proxy/src/http_proxy.cc +++ b/apps/http-proxy/src/http_proxy.cc @@ -347,6 +347,8 @@ void HTTPProxy::stop() { for (auto& receiver : receivers_) { receiver->stopAndJoinThread(); } + + signals_.cancel(); } HTTPProxy::HTTPProxy(ClientParams& params, std::size_t n_thread) -- cgit 1.2.3-korg