summaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-12-22 00:19:16 +0000
committerRyan Bloom <rbb@apache.org>2000-12-22 00:19:16 +0000
commit8a2f6cfd59efd085b5b4b4896121f8dc17b8c1ab (patch)
tree7714a9ecb7c62f56137190b8e1f12652158c04ce /CHANGES
parent9479f5930ab314fb65dfafaf7dc7db0a4bf6ad40 (diff)
downloadapr-8a2f6cfd59efd085b5b4b4896121f8dc17b8c1ab.tar.gz
On FreeBSD, it is possible for the first call to sendfile to
get EAGAIN, but still send some data. This means that we cannot call sendfile and then check for EAGAIN, and then wait and call sendfile again. If we do that, then we are likely to send the first chunk of data twice, once in the first call and once in the second. If we are using a timed write, then we check to make sure we can send data before trying to send it. This gets sendfile working on FreeBSD in Apache again. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60984 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES8
1 files changed, 8 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 3503e4e58..3cf22a436 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,13 @@
Changes with APR b1
+ *) On FreeBSD, it is possible for the first call to sendfile to
+ get EAGAIN, but still send some data. This means that we cannot
+ call sendfile and then check for EAGAIN, and then wait and call
+ sendfile again. If we do that, then we are likely to send the
+ first chunk of data twice, once in the first call and once in the
+ second. If we are using a timed write, then we check to make sure
+ we can send data before trying to send it. [Ryan Bloom]
+
*) Cleanup to help Apache support programs build cleanly.
[Cliff Woolley <cliffwoolley@yahoo.com>]