Skip to content

Commit 9bf6271

Browse files
committed
Increase default http.max_header_size to 16kb
Signed-off-by: 10000-ki <[email protected]> Add change log Signed-off-by: 10000-ki <[email protected]> Remove duplicate line Signed-off-by: 10000-ki <[email protected]>
1 parent 8ab82a0 commit 9bf6271

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
@@ -10,11 +10,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1010
- Implement parallel shard refresh behind cluster settings ([#17782](https://github.com/opensearch-project/OpenSearch/pull/17782))
1111

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

1415
### Dependencies
1516
- Bump `com.github.spotbugs:spotbugs-annotations` from 4.9.0 to 4.9.3 ([#17922](https://github.com/opensearch-project/OpenSearch/pull/17922))
1617

17-
### Changed
18+
### Dependencies
1819

1920
### Deprecated
2021

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)