apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 50269] testsock fails - Determine whether at EOF, #1 (20014): Internal error
Date Thu, 12 Sep 2013 13:35:49 GMT

Michael Leahy <michael.leahy1@comcast.net> changed:

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

--- Comment #5 from Michael Leahy <michael.leahy1@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

View raw message