From ed367824a6b4fb22cb53aaa16626a251fd7e2016 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sun, 2 Mar 2014 12:15:17 -0800 Subject: [PATCH] Add receive stub for inbound pipes. --- src/protocols/rdp/guac_handlers.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/protocols/rdp/guac_handlers.c b/src/protocols/rdp/guac_handlers.c index 2d7b176b..11268150 100644 --- a/src/protocols/rdp/guac_handlers.c +++ b/src/protocols/rdp/guac_handlers.c @@ -642,6 +642,13 @@ int rdp_guac_client_blob_handler(guac_client* client, guac_stream* stream, } /* end if upload stream */ + /* Handle received SVC data */ + else if (rdp_stream->type == GUAC_RDP_INBOUND_SVC_STREAM) { + guac_client_log_info(client, + "STUB: Received %i bytes on pipe for channel \"%s\".", + length, rdp_stream->svc->name); + } + guac_protocol_send_ack(client->socket, stream, "OK (DATA RECEIVED)", GUAC_PROTOCOL_STATUS_SUCCESS); guac_socket_flush(client->socket);