Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] Connection not ending
From: Markus Bonk (markus_bonk_at_[hidden])
Date: 2012-05-09 10:41:19


...?

"Markus Bonk" wrote in message news:jo7vv3$fnk$1_at_dough.gmane.org...

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