diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2013-03-27 16:42:21 +0200 |
---|---|---|
committer | Johannes Dahlström <johannesd@vaadin.com> | 2013-03-27 16:42:21 +0200 |
commit | dcd19d4f6df04d99333a769ce08933ae1c88c3f1 (patch) | |
tree | 2fe996a4cadacd56f814a55bd0e3014e558a8a4a | |
parent | 515f6444406cdcfaab6daaef82c72b6e898537f7 (diff) | |
download | vaadin-framework-dcd19d4f6df04d99333a769ce08933ae1c88c3f1.tar.gz vaadin-framework-dcd19d4f6df04d99333a769ce08933ae1c88c3f1.zip |
Fix off-by-one bug preventing all server RPC handling
Change-Id: I2e3e277cb6b385f4713a72129f51c34d8c893995
-rw-r--r-- | server/src/com/vaadin/server/communication/ServerRpcHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/server/communication/ServerRpcHandler.java b/server/src/com/vaadin/server/communication/ServerRpcHandler.java index 8d33ea8f85..23e8087196 100644 --- a/server/src/com/vaadin/server/communication/ServerRpcHandler.java +++ b/server/src/com/vaadin/server/communication/ServerRpcHandler.java @@ -117,7 +117,7 @@ public class ServerRpcHandler implements Serializable { if (bursts.length > 2) { throw new RuntimeException( "Multiple variable bursts not supported in Vaadin 7"); - } else if (bursts.length <= 2) { + } else if (bursts.length <= 1) { // The client sometimes sends empty messages, this is probably a bug return; } |