Boost logo

Boost Users :

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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net