Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ public static H2Config.Builder custom() {
private static final boolean INIT_ENABLE_PUSH = true;
private static final int INIT_MAX_FRAME_SIZE = FrameConsts.MIN_FRAME_SIZE;
private static final int INIT_WINDOW_SIZE = 65535;
private static final int INIT_CONCURRENT_STREAM = 250;

public static H2Config.Builder initial() {
return new Builder()
Expand Down Expand Up @@ -150,7 +151,7 @@ public static class Builder {
Builder() {
this.headerTableSize = INIT_HEADER_TABLE_SIZE * 2;
this.pushEnabled = INIT_ENABLE_PUSH;
this.maxConcurrentStreams = 250;
this.maxConcurrentStreams = INIT_CONCURRENT_STREAM;
this.initialWindowSize = INIT_WINDOW_SIZE;
this.maxFrameSize = FrameConsts.MIN_FRAME_SIZE * 4;
this.maxHeaderListSize = FrameConsts.MAX_FRAME_SIZE;
Expand Down