Skip to content

Commit 6afec2a

Browse files
authored
Increase default http.max_header_size to 16kb (#18024)
Add change log Remove duplicate line Signed-off-by: 10000-ki <[email protected]>
1 parent 17eeaa2 commit 6afec2a

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,13 +10,14 @@ 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.google.code.gson:gson` from 2.12.1 to 2.13.0 ([#17923](https://github.com/opensearch-project/OpenSearch/pull/17923))
1617
- Bump `com.github.spotbugs:spotbugs-annotations` from 4.9.0 to 4.9.3 ([#17922](https://github.com/opensearch-project/OpenSearch/pull/17922))
1718
- Bump `com.microsoft.azure:msal4j` from 1.18.0 to 1.20.0 ([#17925](https://github.com/opensearch-project/OpenSearch/pull/17925))
1819

19-
### Changed
20+
### Dependencies
2021

2122
### Deprecated
2223

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)