Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4023: Read handler has EOF error_code
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-03-21 09:39:31
#4023: Read handler has EOF error_code
-----------------------------------+----------------------------------------
Reporter: olafvdspek@⦠| Owner: chris_kohlhoff
Type: Bugs | Status: closed
Milestone: Boost 1.43.0 | Component: asio
Version: Boost 1.42.0 | Severity: Showstopper
Resolution: fixed | Keywords:
-----------------------------------+----------------------------------------
Changes (by chris_kohlhoff):
* status: new => closed
* resolution: => fixed
Comment:
(In [60741]) Merge from trunk.
........
r60681 | chris_kohlhoff | 2010-03-18 12:32:34 +1100 (Thu, 18 Mar 2010) |
3 lines
Define NOMINMAX for all Windows compilers, not just Cygwin. Users can
define
BOOST_ASIO_NO_NOMINMAX to suppress this definition. Fixes #3901.
........
r60687 | chris_kohlhoff | 2010-03-18 17:23:38 +1100 (Thu, 18 Mar 2010) |
4 lines
Use a bitmask type for the resolver flags, as per the TR2 proposal. This
will
prevent implicit conversion from int to flags, allowing the compiler to
catch
cases where users incorrectly pass a numeric port number as the service
name.
........
r60689 | chris_kohlhoff | 2010-03-18 22:08:19 +1100 (Thu, 18 Mar 2010) |
2 lines
Fix bug where 0-byte reads were incorrectly passing an eof error_code to
the handler. Fixes #4023.
........
r60705 | chris_kohlhoff | 2010-03-20 00:08:04 +1100 (Sat, 20 Mar 2010) |
3 lines
Fix epoll_reactor bug where cancelled operations would complete with a
"success" error_code.
........
r60717 | chris_kohlhoff | 2010-03-20 10:23:28 +1100 (Sat, 20 Mar 2010) |
2 lines
More extensive read and write tests.
........
r60722 | chris_kohlhoff | 2010-03-20 10:57:50 +1100 (Sat, 20 Mar 2010) |
2 lines
WinCE doesn't provide InitializeCriticalSectionAndSpinCount.
........
r60723 | chris_kohlhoff | 2010-03-20 10:58:48 +1100 (Sat, 20 Mar 2010) |
2 lines
Fix cancellation.
........
r60725 | chris_kohlhoff | 2010-03-20 10:59:48 +1100 (Sat, 20 Mar 2010) |
3 lines
Use cancel() to avoid Windows behaviour where a connection is reset if
the
socket is closed while there is a pending read operation.
........
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4023#comment:12> 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:02 UTC