|
Boost : |
Subject: Re: [boost] boost::asio 1.43 regression (canceling read operation doens't trigger operation_aborted)
From: Philippe Vaucher (philippe.vaucher_at_[hidden])
Date: 2010-06-11 04:54:45
I actually found out the problem. It seems 1.43 introduced
BOOST_ASIO_ENABLE_CANCELIO. When I define this, everything works again.
Now there's still a bug! When trying to call cancel() on a serial_port when
BOOST_ASIO_ENABLE_CANCELIO is not defined, it should fail with
asio::error::operation_not_supported as the doc says, but it doens't. It
just silently tries to go on with reading from the serial port.
Philippe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk