Subject: [Boost-bugs] [Boost C++ Libraries] #12606: Boost.ASIO not throwing EOF exception when using coroutine reading from pipe
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-11-14 04:07:22
#12606: Boost.ASIO not throwing EOF exception when using coroutine reading from
pipe
----------------------------------+----------------------------
Reporter: kirit.saelensminde@⦠| Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
Version: Boost 1.62.0 | Severity: Problem
Keywords: |
----------------------------------+----------------------------
The coroutine just hangs when the end of file is reached. If the coroutine
is used with an error code, i.e. "yield[ec]" then an error is properly
returned.
This is on Ubuntu Xenial (16.04), clang 3.8 & gcc 5.4.1, libstdc++.so.6.
More details are in this SO question:
http://stackoverflow.com/questions/40571429/stdin-pipe-not-closing-when-
read-with-boost-asio
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12606> 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:20 UTC