From b9042002ca587d79226b95139e07121ed10d3428 Mon Sep 17 00:00:00 2001
From: Joe Orton
Date: Tue, 18 Feb 2025 17:18:48 +0000
Subject: [PATCH] docs: Note that sendfile() is not used for SSL/TLS or with
some output filters regardless of the EnableSendfile setting.
PR: 69414
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1923917 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/core.xml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml
index 070f8ee57b7..7a0a6565377 100644
--- a/docs/manual/mod/core.xml
+++ b/docs/manual/mod/core.xml
@@ -1215,7 +1215,10 @@ version 2.3.9.
By default, when the handling of a request requires no access
to the data within a file -- for example, when delivering a
static file -- Apache httpd uses sendfile to deliver the file contents
- without ever reading the file if the OS supports it.
+ without ever reading the file if the OS supports it. If SSL/TLS is used
+ for the connection, or if any output filter
+ is configured which inspects or modifies the output, the sendfile mechanism
+ will not be used regardless of this configuration option.
This sendfile mechanism avoids separate read and send operations,
and buffer allocations. But on some platforms or within some
--
2.47.3