From 7ee624844a2ef577bfd5af6c9559919e1ba77846 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Wed, 26 Sep 2018 21:51:46 -0700 Subject: [PATCH] GUACAMOLE-623: Remove unnecessary initialization of pwsi. The pwsi member was previously used to ensure the lws structure was made available to invocations of the event callback early in the connection lifecycle such that the underlyin guac_client could always be retrieved. Since the migration to guac_kubernetes_lws_current_client, this is not necessary, and isn't supported in older versions of libwebsockets anyway. --- src/protocols/kubernetes/kubernetes.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/protocols/kubernetes/kubernetes.c b/src/protocols/kubernetes/kubernetes.c index fb38d680..66fc27d4 100644 --- a/src/protocols/kubernetes/kubernetes.c +++ b/src/protocols/kubernetes/kubernetes.c @@ -268,7 +268,6 @@ void* guac_kubernetes_client_thread(void* data) { .origin = settings->hostname, .port = settings->port, .protocol = GUAC_KUBERNETES_LWS_PROTOCOL, - .pwsi = &kubernetes_client->wsi, .userdata = client };