$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [asio] Closing async client socket after writing last message
From: Bjorn Reese (breese_at_[hidden])
Date: 2014-06-18 15:59:37
On 06/18/2014 08:48 PM, Nicholas Yue wrote:
> write_msgs_.pop_front();
> if (!write_msgs_.empty())
Swap these two lines; otherwise you do not write the last message.