From dcd19d4f6df04d99333a769ce08933ae1c88c3f1 Mon Sep 17 00:00:00 2001 From: Johannes Dahlström Date: Wed, 27 Mar 2013 16:42:21 +0200 Subject: Fix off-by-one bug preventing all server RPC handling Change-Id: I2e3e277cb6b385f4713a72129f51c34d8c893995 --- server/src/com/vaadin/server/communication/ServerRpcHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src') 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; } -- cgit v1.2.3