Skip to content

Commit 1294506

Browse files
opensearch-trigger-bot[bot]github-actions[bot]jainankitk
authored
[Backport 3.0] Increase default http.max_header_size to 16kb (#18061)
* Increase default http.max_header_size to 16kb (#18024) Add change log Remove duplicate line Signed-off-by: 10000-ki <10000ki6472@gmail.com> (cherry picked from commit 6afec2a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Update CHANGELOG.md Signed-off-by: Ankit Jain <akjain@amazon.com> --------- Signed-off-by: 10000-ki <10000ki6472@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Ankit Jain <akjain@amazon.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Ankit Jain <akjain@amazon.com>
1 parent aa27d70 commit 1294506

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
99
- Unset discovery nodes for every transport node actions request ([#17682](https://github.com/opensearch-project/OpenSearch/pull/17682))
1010

1111
### Changed
12+
- Change the default max header size from 8KB to 16KB. ([#18024](https://github.com/opensearch-project/OpenSearch/pull/18024))
1213

1314
### Dependencies
1415

15-
### Changed
16-
1716
### Deprecated
1817

1918
### Removed

server/src/main/java/org/opensearch/http/HttpTransportSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public final class HttpTransportSettings {
151151
);
152152
public static final Setting<ByteSizeValue> SETTING_HTTP_MAX_HEADER_SIZE = Setting.byteSizeSetting(
153153
"http.max_header_size",
154-
new ByteSizeValue(8, ByteSizeUnit.KB),
154+
new ByteSizeValue(16, ByteSizeUnit.KB),
155155
Property.NodeScope
156156
);
157157
public static final Setting<Integer> SETTING_HTTP_MAX_WARNING_HEADER_COUNT = intSetting(

0 commit comments

Comments
 (0)