$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [asio] Connection not ending
From: Markus Bonk (markus_bonk_at_[hidden])
Date: 2012-05-07 04:06:59
Hi,
I have a sample based on the http server 3 example.
I am calling io_service::stop which ends all the threads and the
tcp_server's run routine exits. But currently I am not seeing the
destructor of the connection being called. It looks like the shared pointers
passed to async_read_some are not being freed. Do I need to do something
specific the cancel the connection? I am not destroying the server.
Markus