diff --git a/libguac/include/protocol.h b/libguac/include/protocol.h index 92d93ac9..e59167f1 100644 --- a/libguac/include/protocol.h +++ b/libguac/include/protocol.h @@ -123,20 +123,6 @@ void guac_send_name(GUACIO* io, const char* name); */ void guac_send_error(GUACIO* io, const char* error); -/** - * Sends a ready instruction over the given GUACIO connection. The - * ready instruction merely signals the client that its ready - * instruction has been handled. The ready exchange is intended to - * synchronize instruction handling (if needed) and serve as a health - * indicator for both client and server. - * - * Normally, this functino should not be called by client plugins, as - * the ready instruction will be handled automatically. - * - * @param io The GUACIO connection to use. - */ -void guac_send_ready(GUACIO* io); - /** * Sends a clipboard instruction over the given GUACIO connection. The * clipboard data given will be automatically escaped for transmission. diff --git a/libguac/src/client.c b/libguac/src/client.c index 96ab0d3c..eae2dc56 100644 --- a/libguac/src/client.c +++ b/libguac/src/client.c @@ -259,12 +259,7 @@ void guac_start_client(guac_client* client) { do { - if (strcmp(instruction.opcode, "ready") == 0) { - guac_send_ready(io); - guac_flush(io); - } - - else if (strcmp(instruction.opcode, "mouse") == 0) { + if (strcmp(instruction.opcode, "mouse") == 0) { if (client->mouse_handler) if ( client->mouse_handler( diff --git a/libguac/src/protocol.c b/libguac/src/protocol.c index f4c6c2f5..4d3110e6 100644 --- a/libguac/src/protocol.c +++ b/libguac/src/protocol.c @@ -175,10 +175,6 @@ void guac_send_size(GUACIO* io, int w, int h) { guac_write_string(io, ";"); } -void guac_send_ready(GUACIO* io) { - guac_write_string(io, "ready;"); -} - void guac_send_clipboard(GUACIO* io, const char* data) { char* escaped = guac_escape_string(data);