From: Joe Orton Date: Tue, 18 Feb 2025 17:18:48 +0000 (+0000) Subject: docs: Note that sendfile() is not used for SSL/TLS or with X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b9042002ca587d79226b95139e07121ed10d3428;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index 070f8ee57b..7a0a656537 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