From 38aa46723356c84f3e8a6fbde1ff8692e74dc58f Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sun, 2 Mar 2014 10:51:52 -0800 Subject: [PATCH] Create outbound pipes for SVC. --- src/protocols/rdp/guac_svc/svc_service.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/protocols/rdp/guac_svc/svc_service.c b/src/protocols/rdp/guac_svc/svc_service.c index 863d1feb..a54c1e3a 100644 --- a/src/protocols/rdp/guac_svc/svc_service.c +++ b/src/protocols/rdp/guac_svc/svc_service.c @@ -32,6 +32,7 @@ #include #include #include +#include #ifdef ENABLE_WINPR #include @@ -93,6 +94,11 @@ void guac_svc_process_connect(rdpSvcPlugin* plugin) { * automatic free() within libfreerdp */ plugin->channel_entry_points.pExtendedData = NULL; + /* Create pipe */ + svc->output_pipe = guac_client_alloc_stream(svc->client); + guac_protocol_send_pipe(svc->client->socket, svc->output_pipe, + "application/octet-stream", svc->name); + /* Log connection to static channel */ guac_client_log_info(svc->client, "Static channel \"%s\" connected.", svc->name);