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 43563] New: - apr_file_write() to pipe with 0 timeout returns TIMEUP on windows
Date Fri, 05 Oct 2007 19:15:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43563>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43563

           Summary: apr_file_write() to pipe with 0 timeout returns TIMEUP
                    on windows
           Product: APR
           Version: HEAD
          Platform: Other
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: covener@gmail.com


On windows, when the write() to a non-blocking pipe with a 0 timeout would
blockA PR returns APR_TIMEUP after going through WaitForSingleObject()

On unix, this same scenario results in APR_EAGAIN being returned to the caller,
it looks like the call into wait_for_io/apr_pollset_poll() is skipped and the
native errno is mapped to APR_EAGAIN and returned to caller.

a caller this affects is httdpd's mod_ext_filter testing for
APR_STATUS_IS_EAGAIN() after the NB-write to the child stdin.

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

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


Mime
View raw message