summaryrefslogtreecommitdiff
path: root/shmem
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2008-05-15 13:38:39 +0000
committerJim Jagielski <jim@apache.org>2008-05-15 13:38:39 +0000
commite3297390a088a980567c21780ef71263249f55b5 (patch)
tree9c37375bdab33d2f04019f1ecda30442c63a0c9a /shmem
parente14040daa78912be13fa2ebbb1f07697ad4416a2 (diff)
downloadapr-e3297390a088a980567c21780ef71263249f55b5.tar.gz
Darwin sendfile() cleanup.
First, remove extra code. Secondly, don't update len and offset within this loop; we just want to check for errors and finally: When using a socket marked for non-blocking I/O, sendfile() may send fewer bytes than requested. In this case, the number of bytes successfully sent is returned in the via the len parameters and the error EAGAIN is returned. so when this happens, return with a success anytime we've sent data. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@656659 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'shmem')
0 files changed, 0 insertions, 0 deletions