aboutsummaryrefslogtreecommitdiffstats
path: root/apps/http-proxy
diff options
context:
space:
mode:
authorAngelo Mantellini <angelo.mantellini@cisco.com>2020-06-09 12:50:19 +0000
committerGerrit Code Review <gerrit@fd.io>2020-06-09 12:50:19 +0000
commit6644390d4058f40680a4710c92ab6e2f7853b21c (patch)
treecc0b2e13b8d44db51087e8e5a6756503043e21af /apps/http-proxy
parenta84ff82bb37ac53f20639d6e5e7f19d002459f31 (diff)
parentd705a8402a6a919f9f2b221b5cc6ed6b99a7d28a (diff)
Merge "[HICN-624] http proxy proxy does not stop"
Diffstat (limited to 'apps/http-proxy')
-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)