apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50269] testsock fails - Determine whether at EOF, #1 (20014): Internal error
Date Thu, 18 Aug 2011 17:01:47 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50269

--- Comment #2 from Wim Lewis <wiml@omnigroup.com> 2011-08-18 17:01:47 UTC ---
I see this error reliably as well (apr trunk revision (2.0.0 in development),
OSX 10.6.7, sometimes #1 and sometimes #2). The problem is that
apr_socket_atreadeof() is falling through to the "Should not fall through here"
at the end of the function. It turns out that apr_poll() is returning
APR_POLLHUP|APR_POLLIN, rather than just APR_POLLIN which
apr_socket_atreadeof() tests for. This is clearly a bug in
apr_socket_atreadeof().

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message