]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Follow up to r1836032: ReadBufferSize not configurable from htaccess.
authorYann Ylavic <ylavic@apache.org>
Fri, 11 Dec 2020 01:07:31 +0000 (01:07 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 11 Dec 2020 01:07:31 +0000 (01:07 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1884295 13f79535-47bb-0310-9956-ffa450edef68

server/core.c

index 9f81d421f1e61c2c760e0b5b5add702c66828c87..f4be343f879d22310b7f4e0c30a00fbb53307193 100644 (file)
@@ -4730,7 +4730,7 @@ AP_INIT_TAKE1("EnableMMAP", set_enable_mmap, NULL, OR_FILEINFO,
   "Controls whether memory-mapping may be used to read files"),
 AP_INIT_TAKE1("EnableSendfile", set_enable_sendfile, NULL, OR_FILEINFO,
   "Controls whether sendfile may be used to transmit files"),
-AP_INIT_TAKE1("ReadBufferSize", set_read_buf_size, NULL, OR_FILEINFO,
+AP_INIT_TAKE1("ReadBufferSize", set_read_buf_size, NULL, ACCESS_CONF|RSRC_CONF,
   "Size (in bytes) of the memory buffers used to read data"),
 AP_INIT_TAKE1("FlushMaxThreshold", set_flush_max_threshold, NULL, RSRC_CONF,
   "Maximum size (in bytes) above which pending data are flushed (blocking) to the network"),