Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] Incorrect reporting of bytes transferred in write handler in 1.54
From: Igor R (boost.lists_at_[hidden])
Date: 2013-07-11 10:52:17


> Is anybody else seeing problems with the bytes_transferred reported to the
> write_handler after a successful async_write?
>
> I am seeing a value of zero despite the fact that the peer receives the
> bytes and no error is reported to the write_handler.
>
> My example code when built against 1.54 exhibits the problem whereas
> building against 1.53 works correctly.

It seems to be a "side effect" of the following bug-fix:
https://svn.boost.org/trac/boost/ticket/8613

It's worth creating a ticket.


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