You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2011/08/18 19:01:47 UTC

DO NOT REPLY [Bug 50269] testsock fails - Determine whether at EOF, #1 (20014): Internal error

https://issues.apache.org/bugzilla/show_bug.cgi?id=50269

--- Comment #2 from Wim Lewis <wi...@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