$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Jupiter (jupiter.hce_at_[hidden])
Date: 2020-04-08 08:01:32
On 4/8/20, Gavin Lambert via Boost <boost_at_[hidden]> wrote:
> Your lambda isn't capturing a shared_ptr, thus if nothing else is
> keeping the session object alive, it's probably being destroyed (and
> cancelling the read -- though probably then also calling HandleRead
> after destruction, which is bad).
No warder it works for TCP because it is always connected. good to
learn every day :-). Thank you very much Gavin.
Cheers.
- jh