Align default value for keepalive_request with NGINX default (#9518)

* Align default value for keepalive_request with NGINX default

* Align default value for keepalive_request with NGINX default
This commit is contained in:
Christian Schaefer 2023-01-18 14:22:35 +01:00 committed by GitHub
parent fe2e713f42
commit ea0db8de77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -62,7 +62,7 @@ The following table shows a configuration option's name, type, and the default v
|[hsts-max-age](#hsts-max-age)|string|"15724800"| |[hsts-max-age](#hsts-max-age)|string|"15724800"|
|[hsts-preload](#hsts-preload)|bool|"false"| |[hsts-preload](#hsts-preload)|bool|"false"|
|[keep-alive](#keep-alive)|int|75| |[keep-alive](#keep-alive)|int|75|
|[keep-alive-requests](#keep-alive-requests)|int|100| |[keep-alive-requests](#keep-alive-requests)|int|1000|
|[large-client-header-buffers](#large-client-header-buffers)|string|"4 8k"| |[large-client-header-buffers](#large-client-header-buffers)|string|"4 8k"|
|[log-format-escape-none](#log-format-escape-none)|bool|"false"| |[log-format-escape-none](#log-format-escape-none)|bool|"false"|
|[log-format-escape-json](#log-format-escape-json)|bool|"false"| |[log-format-escape-json](#log-format-escape-json)|bool|"false"|
@ -1348,4 +1348,4 @@ will be allowed.
See also [#disable-pathtype-validation](#disable-pathtype-validation). See also [#disable-pathtype-validation](#disable-pathtype-validation).
_**default:**_ "^%$[](){}*+?|" _**default:**_ "^%$[](){}*+?|"

View file

@ -852,7 +852,7 @@ func NewDefault() Configuration {
GzipMinLength: 256, GzipMinLength: 256,
GzipTypes: gzipTypes, GzipTypes: gzipTypes,
KeepAlive: 75, KeepAlive: 75,
KeepAliveRequests: 100, KeepAliveRequests: 1000,
LargeClientHeaderBuffers: "4 8k", LargeClientHeaderBuffers: "4 8k",
LogFormatEscapeJSON: false, LogFormatEscapeJSON: false,
LogFormatStream: logFormatStream, LogFormatStream: logFormatStream,