From 0dfa82ec8e2072a3be07b67e7f3f234d045b54bf Mon Sep 17 00:00:00 2001 From: Timotej S <6674623+underhood@users.noreply.github.com> Date: Thu, 6 Oct 2022 16:56:11 +0200 Subject: Bump websockets submodule (#13776) * update mqtt websockets submodule and reflect API changes --- aclk/aclk.c | 2 +- aclk/aclk_otp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'aclk') diff --git a/aclk/aclk.c b/aclk/aclk.c index 8b1dca8ca7..d0024b0b52 100644 --- a/aclk/aclk.c +++ b/aclk/aclk.c @@ -513,7 +513,7 @@ static int aclk_attempt_to_connect(mqtt_wss_client client) continue; } - struct mqtt_wss_proxy proxy_conf = { .host = NULL, .port = 0, .type = MQTT_WSS_DIRECT }; + struct mqtt_wss_proxy proxy_conf = { .host = NULL, .port = 0, .username = NULL, .password = NULL, .type = MQTT_WSS_DIRECT }; aclk_set_proxy((char**)&proxy_conf.host, &proxy_conf.port, &proxy_conf.type); struct mqtt_connect_params mqtt_conn_params = { diff --git a/aclk/aclk_otp.c b/aclk/aclk_otp.c index e1b7a5123d..af92ade931 100644 --- a/aclk/aclk_otp.c +++ b/aclk/aclk_otp.c @@ -13,7 +13,7 @@ static int aclk_https_request(https_req_t *request, https_req_response_t *respon int rc; // wrapper for ACLK only which loads ACLK specific proxy settings // then only calls https_request - struct mqtt_wss_proxy proxy_conf = { .host = NULL, .port = 0, .type = MQTT_WSS_DIRECT }; + struct mqtt_wss_proxy proxy_conf = { .host = NULL, .port = 0, .username = NULL, .password = NULL, .type = MQTT_WSS_DIRECT }; aclk_set_proxy((char**)&proxy_conf.host, &proxy_conf.port, &proxy_conf.type); if (proxy_conf.type == MQTT_WSS_PROXY_HTTP) { -- cgit v1.2.3