]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Follow up to r1836032: docs for ReadBufferSize, FlushMaxThreshold and FlushMaxPipelined.
authorYann Ylavic <ylavic@apache.org>
Fri, 11 Dec 2020 01:19:10 +0000 (01:19 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 11 Dec 2020 01:19:10 +0000 (01:19 +0000)
Plus CHANGES entry.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1884296 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
docs/manual/mod/core.xml

diff --git a/CHANGES b/CHANGES
index a4a0aef93de5bd9c303b1f640b741a2aad74aa10..ecd9cc3ccfe780e234f118b9a89d3a6f1f27481c 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.5.1
 
+  *) core: add ReadBufferSize, FlushMaxThreshold and FlushMaxPipelined
+     directives.  [Yann Ylavic]
+
   *) mod_md: lowered the required minimal libcurl version from 7.50 to 7.29
      as proposed by <alexander.gerasimov@codeit.pro>.
 
index 5d259d190f8384818988c77c4767f380f1e84cff..0abab55c69164a38ee34edad1fa75eda53473f7c 100644 (file)
@@ -2029,6 +2029,45 @@ filenames</description>
     different sections are combined when a request is received</seealso>
 </directivesynopsis>
 
+<directivesynopsis>
+<name>FlushMaxPipelined</name>
+<description>Threshold above which pipelined responses are flushed to the
+network</description>
+<syntax>FlushMaxPipelined <var>number</var></syntax>
+<default>FlushMaxPipelined 5</default>
+<contextlist><context>server config</context><context>virtual host</context>
+<context>directory</context></contextlist>
+<compatibility>2.5 and later</compatibility>
+
+<usage>
+    <p>This directive allows to configure the threshold for pipelined
+    responses, which remain pending so long as pipelined request are handled.
+    When this limit is reached, are forcibly flushed to the network in blocking
+    mode, until passing under the threshold again.</p>
+
+    <p>This threshold helps maintaning constrained memory usage.</p>
+</usage>
+</directivesynopsis>
+
+<directivesynopsis>
+<name>FlushMaxThreshold</name>
+<description>Threshold above which pending data are flushed to the
+network</description>
+<syntax>FlushMaxThreshold<var>number-of-bytes</var></syntax>
+<default>FlushMaxThreshold 65536</default>
+<contextlist><context>server config</context><context>virtual host</context>
+<context>directory</context></contextlist>
+<compatibility>2.5 and later</compatibility>
+
+<usage>
+    <p>This directive allows to configure the threshold (in bytes) for pending
+    output data. When this limit is reached, data are forcibly flushed to the
+    network in blocking mode, until passing under the threshold again.</p>
+
+    <p>This threshold helps maintaning constrained memory usage.</p>
+</usage>
+</directivesynopsis>
+
 <directivesynopsis>
 <name>ForceType</name>
 <description>Forces all matching files to be served with the specified
@@ -4138,6 +4177,25 @@ Protocols h2 http/1.1
 </directivesynopsis>
 
 
+<directivesynopsis>
+<name>ReadBufferSize</name>
+<description>Size of the buffers used to read network data</description>
+<syntax>ReadBufferSize <var>number-of-bytes</var></syntax>
+<default>ReadBufferSize 8192</default>
+<contextlist><context>server config</context><context>virtual host</context>
+<context>directory</context></contextlist>
+<compatibility>2.5 and later</compatibility>
+
+<usage>
+    <p>This directive allows to configure the size in bytes of the memory
+    buffers used to read data from the network.</p>
+
+    <p>Larger buffer can increase peformances for large data but consume more
+    memory (per connection).</p>
+</usage>
+</directivesynopsis>
+
 <directivesynopsis>
     <name>RegexDefaultOptions</name>
     <description>Allow to configure global/default options for regexes</description>