aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorAngelo Mantellini <angelo.mantellini@cisco.com>2020-06-04 13:15:16 +0200
committerAngelo Mantellini <angelo.mantellini@cisco.com>2020-06-04 13:17:21 +0200
commitd705a8402a6a919f9f2b221b5cc6ed6b99a7d28a (patch)
tree90cd09d8f94b77aa30b95973b2ec05a444f71cf2 /apps
parent2dcaaefd65f3b515aeda0848ff4e757cf2c4b82d (diff)
[HICN-624] http proxy proxy does not stop
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I810a983190ca273acc4be9bc2c1895b53b9c524d
Diffstat (limited to 'apps')
-rw-r--r--apps/http-proxy/src/http_proxy.cc2
1 files changed, 2 insertions, 0 deletions
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)