You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2020/12/11 01:07:31 UTC

svn commit: r1884295 - /httpd/httpd/trunk/server/core.c

Author: ylavic
Date: Fri Dec 11 01:07:31 2020
New Revision: 1884295

URL: http://svn.apache.org/viewvc?rev=1884295&view=rev
Log:
Follow up to r1836032: ReadBufferSize not configurable from htaccess.

Modified:
    httpd/httpd/trunk/server/core.c

Modified: httpd/httpd/trunk/server/core.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/core.c?rev=1884295&r1=1884294&r2=1884295&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core.c (original)
+++ httpd/httpd/trunk/server/core.c Fri Dec 11 01:07:31 2020
@@ -4730,7 +4730,7 @@ AP_INIT_TAKE1("EnableMMAP", set_enable_m
   "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"),