diff options
author | Timotej S <6674623+underhood@users.noreply.github.com> | 2022-10-06 16:56:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-06 16:56:11 +0200 |
commit | 0dfa82ec8e2072a3be07b67e7f3f234d045b54bf (patch) | |
tree | 7772334c1f894ef18caf3190e32c6b742cd0acbe /aclk | |
parent | 1c73562dda318bb99f888ba5a0ea5dab74c81d4f (diff) |
Bump websockets submodule (#13776)
* update mqtt websockets submodule and reflect API changes
Diffstat (limited to 'aclk')
-rw-r--r-- | aclk/aclk.c | 2 | ||||
-rw-r--r-- | aclk/aclk_otp.c | 2 |
2 files changed, 2 insertions, 2 deletions
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) { |