Skip to content

Commit d9e2dee

Browse files
committed
Fixing performance problem with pooled connections not getting properly closed when the handle is destroyed.
1 parent a0b53b6 commit d9e2dee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

boost/network/protocol/http/policies/pooled_connection.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ namespace boost { namespace network { namespace http {
4444
}
4545

4646
~connection_impl () {
47+
pimpl->close_socket();
4748
pimpl.reset();
4849
}
4950

0 commit comments

Comments
 (0)