Subject: [Boost-bugs] [Boost C++ Libraries] #6048: async_connect sometimes returns succes in case of error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-24 09:41:01
#6048: async_connect sometimes returns succes in case of error
---------------------------------------------+------------------------------
Reporter: Gennady Proskurin <gpr@â¦> | Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
Version: Boost 1.47.0 | Severity: Problem
Keywords: |
---------------------------------------------+------------------------------
When listen queue of unix local socket is overflowed, connect() syscall
returns EAGAIN, asio does not treat this as error and returns success to
async_connect handler.
Reproduced on the following system:
Linux maildesk-test 2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011
x86_64 GNU/Linux.
Test program attached, it tries to do write() after successful connect.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6048> 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:07 UTC