[Boost-bugs] [Boost C++ Libraries] #3254: Cannot cancel async_write to a serial port

Subject: [Boost-bugs] [Boost C++ Libraries] #3254: Cannot cancel async_write to a serial port
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-07-08 20:21:37


#3254: Cannot cancel async_write to a serial port
------------------------------------------+---------------------------------
 Reporter: kevin.arunski@… | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: asio
  Version: Boost 1.39.0 | Severity: Problem
 Keywords: |
------------------------------------------+---------------------------------
 Attached is a test program that demonstrates some curious behavior I see
 while using serial port on a Linux system (epoll reactor).

 The order of operations is: create serial_port, call async_write to send
 some data over the port, call cancel to cancel the write operation, enter
 io_service.

 I would expect the write completion handler to be called with the
 error_code argument set. Instead, no error_code is set and some bytes are
 transferred.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3254>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC