summaryrefslogtreecommitdiffstats
path: root/src/lib/http/connection_pool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/http/connection_pool.cc')
-rw-r--r--src/lib/http/connection_pool.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/http/connection_pool.cc b/src/lib/http/connection_pool.cc
index e5a7b5d2af..8d39c02d4d 100644
--- a/src/lib/http/connection_pool.cc
+++ b/src/lib/http/connection_pool.cc
@@ -19,6 +19,7 @@ HttpConnectionPool::start(const HttpConnectionPtr& connection) {
void
HttpConnectionPool::stop(const HttpConnectionPtr& connection) {
connections_.remove(connection);
+ connection->close();
}
void