diff --git a/core/src/main/java/io/undertow/UndertowOptions.java b/core/src/main/java/io/undertow/UndertowOptions.java
index b8d0b2553c..6279a8b2a4 100644
--- a/core/src/main/java/io/undertow/UndertowOptions.java
+++ b/core/src/main/java/io/undertow/UndertowOptions.java
@@ -285,6 +285,10 @@ public class UndertowOptions {
* Max frame size for HTTP2.
*
UNIT: Bytes.
*/
+ public static final int DEFAULT_HTTP2_SETTINGS_INITIAL_WINDOW_SIZE = 65535;
+ /**
+ * Default value of {@link #HTTP2_SETTINGS_INITIAL_WINDOW_SIZE}.
UNIT: Bytes.
+ */
public static final Option HTTP2_SETTINGS_MAX_FRAME_SIZE = Option.simple(UndertowOptions.class, "HTTP2_SETTINGS_MAX_FRAME_SIZE", Integer.class);
/**
diff --git a/core/src/main/java/io/undertow/protocols/http2/Http2Channel.java b/core/src/main/java/io/undertow/protocols/http2/Http2Channel.java
index da120f0fc9..95e4045259 100644
--- a/core/src/main/java/io/undertow/protocols/http2/Http2Channel.java
+++ b/core/src/main/java/io/undertow/protocols/http2/Http2Channel.java
@@ -145,8 +145,6 @@ public class Http2Channel extends AbstractFramedChannel