We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ea1239 commit d96a00fCopy full SHA for d96a00f
1 file changed
httpcore5/src/main/java/org/apache/hc/core5/http/config/Http1Config.java
@@ -144,8 +144,8 @@ public static Http1Config.Builder copy(final Http1Config config) {
144
private static final int INIT_BUF_SIZE = 8192;
145
private static final Timeout INIT_WAIT_FOR_CONTINUE = Timeout.ofSeconds(3);
146
private static final int INIT_BUF_CHUNK = -1;
147
- private static final int INIT_MAX_HEADER_COUNT = -1;
148
- private static final int INIT_MAX_LINE_LENGTH = -1;
+ private static final int INIT_MAX_HEADER_COUNT = 100;
+ private static final int INIT_MAX_LINE_LENGTH = 8192;
149
private static final int INIT_MAX_EMPTY_LINE_COUNT = 10;
150
151
public static class Builder {
0 commit comments