Skip to content

Commit e9daa2c

Browse files
committed
Increase default http.max_header_size to 16kb
Signed-off-by: 10000-ki <[email protected]>
1 parent 52b8b05 commit e9daa2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)