diff options
author | nd <nd@13f79535-47bb-0310-9956-ffa450edef68> | 2004-11-24 23:26:26 +0000 |
---|---|---|
committer | nd <nd@13f79535-47bb-0310-9956-ffa450edef68> | 2004-11-24 23:26:26 +0000 |
commit | bdd19083acc5576c20406760c8bf57928cfe0bd6 (patch) | |
tree | d6a83016f85e2772535f6d61666df34d17f0ca85 /network_io | |
parent | a14cfdd6eeca914d4f7b55db3047353ac0840ec1 (diff) | |
download | libapr-bdd19083acc5576c20406760c8bf57928cfe0bd6.tar.gz |
property cleanup
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.0.x@106493 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'network_io')
-rw-r--r-- | network_io/unix/sendrecv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/network_io/unix/sendrecv.c b/network_io/unix/sendrecv.c index 9381693ed..002b6e1cc 100644 --- a/network_io/unix/sendrecv.c +++ b/network_io/unix/sendrecv.c @@ -316,7 +316,7 @@ apr_status_t apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file, *len); /* number of bytes to send */ } while (rv == -1 && errno == EINTR); - if ((rv == -1) &&
(errno == EAGAIN || errno == EWOULDBLOCK) + if ((rv == -1) && (errno == EAGAIN || errno == EWOULDBLOCK) && (sock->timeout > 0)) { do_select: arv = apr_wait_for_io_or_timeout(NULL, sock, 0); |