From 4982971fec57ba32d66a44a027130e1dd6168ed4 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 28 Feb 2014 18:34:08 -0800 Subject: [PATCH] Remove automatic calls to sendAck(). --- guacamole-common-js/src/main/webapp/modules/BlobReader.js | 3 +++ guacamole-common-js/src/main/webapp/modules/Client.js | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/guacamole-common-js/src/main/webapp/modules/BlobReader.js b/guacamole-common-js/src/main/webapp/modules/BlobReader.js index 8fa46a6ff..55896f2cd 100644 --- a/guacamole-common-js/src/main/webapp/modules/BlobReader.js +++ b/guacamole-common-js/src/main/webapp/modules/BlobReader.js @@ -87,6 +87,9 @@ Guacamole.BlobReader = function(stream, mimetype) { if (guac_reader.onprogress) guac_reader.onprogress(arrayBuffer.byteLength); + // Send success response + stream.sendAck("OK", 0x0000); + }; // Simply call onend when end received diff --git a/guacamole-common-js/src/main/webapp/modules/Client.js b/guacamole-common-js/src/main/webapp/modules/Client.js index c2b633444..fabce5b2a 100644 --- a/guacamole-common-js/src/main/webapp/modules/Client.js +++ b/guacamole-common-js/src/main/webapp/modules/Client.js @@ -624,9 +624,6 @@ Guacamole.Client = function(tunnel) { // Write data stream.onblob(data); - // Send success response - guac_client.sendAck(stream_index, "OK", 0x0000); - }, "cfill": function(parameters) {