diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2001-07-25 20:59:29 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2001-07-25 20:59:29 +0000 |
commit | 346dcc0c1e42f9f5c338ec1c83b4553d1f54122c (patch) | |
tree | 69c5e5746a81a62037c4c41f47495d3f6c2590c1 /strings | |
parent | 55193b0c47a780ac0a78072a001f313907893431 (diff) | |
download | libapr-346dcc0c1e42f9f5c338ec1c83b4553d1f54122c.tar.gz |
fix some issues with apr_sendfile() for FreeBSD
1) checking when to call wait_for_io_or_timeout()
it checked errno without checking rv
it required that we already sent bytes (nbytes != 0)
it checked timeout != 0 instead of timeout > 0
2) it didn't retry the sendfile() (or writev()) after
a successful wait_for_io_or_timeout()
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62022 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'strings')
0 files changed, 0 insertions, 0 deletions