Browse Source

Bump websockets submodule (#13776)

* update mqtt websockets submodule and reflect API changes
Timotej S 2 years ago
parent
commit
0dfa82ec8e
3 changed files with 3 additions and 3 deletions
  1. 1 1
      aclk/aclk.c
  2. 1 1
      aclk/aclk_otp.c
  3. 1 1
      mqtt_websockets

+ 1 - 1
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 = {

+ 1 - 1
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) {

+ 1 - 1
mqtt_websockets

@@ -1 +1 @@
-Subproject commit 0ccbce11b82fd5cfc6c9b6f0ec4228c8717813cd
+Subproject commit 3c9b62f2dc2dd319469d977fc06cd934951f3a72