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 2013/09/12 15:35:49 UTC

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

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

Michael Leahy <mi...@comcast.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|All                         |other
             Status|NEW                         |NEEDINFO
           Hardware|Other                       |Macintosh

--- Comment #5 from Michael Leahy <mi...@comcast.net> ---
This error still occurs (I'm compiling apr-1.4.8 on Mac OS X Lion (10.7.5)
using the clang compiler).  The error is not intermittent for me.


I modified line 49 of socket_util.c to be

    else if (nfds == 1 && (pfds[0].rtnevents & APR_POLLIN) == APR_POLLIN) {

and it now passes.

So a question remains: if a socket returns APR_POLLHUP at the same time as
APR_POLLIN, is it a fatal condition?

-- 
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