id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3702,asio & ssl - leaking io_handlers after boost::asio::io_service object is stopped and destroyed,tianhao.qiu@…,chris_kohlhoff,"The way boost::asio::ssl::detail::openssl_stream_service is implemented requires that function handler_impl() has to be called before io_handler objects can be deleted. However when the io_service object is stopped and later destroyed, the handlers for those pending SSL operations will never be called, thus causing the leak. Since I am binding shared_ptrs into my SSL handlers, this leak will also keep alive my SSL session objects. ",Bugs,closed,Boost 1.42.0,asio,Boost 1.41.0,Problem,fixed,,