Skip to content

Commit 927af0e

Browse files
Increase default http.max_header_size to 16kb (#18024)
Add change log Remove duplicate line Signed-off-by: 10000-ki <[email protected]> (cherry picked from commit 6afec2a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 8cc58b5 commit 927af0e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ 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+
### Dependencies
1617

1718
### Deprecated
1819

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)