summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorwsanchez <wsanchez@13f79535-47bb-0310-9956-ffa450edef68>2005-05-28 00:06:36 +0000
committerwsanchez <wsanchez@13f79535-47bb-0310-9956-ffa450edef68>2005-05-28 00:06:36 +0000
commit1d49eedf99d30314c341cef6cbd8145fd099ca82 (patch)
treefb8eead69c4158bfcda0436c1d37cb3896539745 /build
parent476bcda174dd7f7cb3b85109633197b1aea7ea79 (diff)
downloadlibapr-1d49eedf99d30314c341cef6cbd8145fd099ca82.tar.gz
Backport r178340 from trunk:
network_io/unix/sendrecv.c: Deal with EAGAIN after poll(). Following apr_wait_for_io_or_timeout(), we were doing I/O and not dealing with EAGAIN. It is legal for poll() to indicate that a socket is available for writing and then for write() to fail with EAGAIN if the state of the socket changed in between the poll() and write() calls. This only seems to actually happen on Mac OS 10.4 (Darwin 8). Rather than trying write() only once, if we get an EAGAIN, continue to call apr_wait_for_io_or_timeout() and try writing. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@178842 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions