You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2018/07/18 20:24:07 UTC
[trafficserver] branch 7.1.x updated: Disables the support for
multi-range request by default
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 7.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/7.1.x by this push:
new f8ab0df Disables the support for multi-range request by default
f8ab0df is described below
commit f8ab0dfb53446b681a070e6d15b16611ab3b9bde
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Wed Feb 14 16:32:29 2018 -0700
Disables the support for multi-range request by default
(cherry picked from commit c0c1b2a0bcf7bfa86c1e2bad20b87a5f187f96a2)
Conflicts:
proxy/http/HttpConfig.h
---
doc/admin-guide/files/records.config.en.rst | 2 +-
mgmt/RecordsConfig.cc | 2 +-
proxy/http/HttpConfig.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/admin-guide/files/records.config.en.rst b/doc/admin-guide/files/records.config.en.rst
index 0a1db69..b0e342b 100644
--- a/doc/admin-guide/files/records.config.en.rst
+++ b/doc/admin-guide/files/records.config.en.rst
@@ -1686,7 +1686,7 @@ Security
post body larger than this limit the response will be terminated with
413 - Request Entity Too Large and logged accordingly.
-.. ts:cv:: CONFIG proxy.config.http.allow_multi_range INT 1
+.. ts:cv:: CONFIG proxy.config.http.allow_multi_range INT 0
:reloadable:
:overridable:
diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc
index ede7bbb..6dc16f8 100644
--- a/mgmt/RecordsConfig.cc
+++ b/mgmt/RecordsConfig.cc
@@ -604,7 +604,7 @@ static const RecordElement RecordsConfig[] =
,
{RECT_CONFIG, "proxy.config.http.enable_http_stats", RECD_INT, "1", RECU_DYNAMIC, RR_NULL, RECC_INT, "[0-1]", RECA_NULL}
,
- {RECT_CONFIG, "proxy.config.http.allow_multi_range", RECD_INT, "1", RECU_DYNAMIC, RR_NULL, RECC_INT, "[0-2]", RECA_NULL}
+ {RECT_CONFIG, "proxy.config.http.allow_multi_range", RECD_INT, "0", RECU_DYNAMIC, RR_NULL, RECC_INT, "[0-2]", RECA_NULL}
,
{RECT_CONFIG, "proxy.config.http.normalize_ae_gzip", RECD_INT, "1", RECU_DYNAMIC, RR_NULL, RECC_INT, "[0-1]", RECA_NULL}
,
diff --git a/proxy/http/HttpConfig.h b/proxy/http/HttpConfig.h
index 56f7417..2fb5303 100644
--- a/proxy/http/HttpConfig.h
+++ b/proxy/http/HttpConfig.h
@@ -403,7 +403,7 @@ struct OverridableHttpConfigParams {
cache_required_headers(2),
cache_range_lookup(1),
cache_range_write(0),
- allow_multi_range(1),
+ allow_multi_range(0),
insert_request_via_string(1),
insert_response_via_string(0),
doc_in_cache_skip_dns(1),