summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/communication/PushConstants.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/shared/src/com/vaadin/shared/communication/PushConstants.java b/shared/src/com/vaadin/shared/communication/PushConstants.java
index f16cbb7390..4b4f247e5f 100644
--- a/shared/src/com/vaadin/shared/communication/PushConstants.java
+++ b/shared/src/com/vaadin/shared/communication/PushConstants.java
@@ -27,8 +27,11 @@ public class PushConstants implements Serializable {
/**
* The size, in <b>bytes</b>, of the receiving buffer used by some servers.
+ * <p>
+ * Should not be set to a value equal to or greater than 32768 due to a
+ * Jetty 9.1 issue (see #13087)
*/
- public static final int WEBSOCKET_BUFFER_SIZE = 65536;
+ public static final int WEBSOCKET_BUFFER_SIZE = 16384;
/**
* The maximum size, in <b>characters</b>, of a websocket message fragment.