summaryrefslogtreecommitdiffstats
path: root/aclk/aclk.c
diff options
context:
space:
mode:
Diffstat (limited to 'aclk/aclk.c')
-rw-r--r--aclk/aclk.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/aclk/aclk.c b/aclk/aclk.c
index d3f965389e..b64893c817 100644
--- a/aclk/aclk.c
+++ b/aclk/aclk.c
@@ -542,16 +542,6 @@ static int aclk_attempt_to_connect(mqtt_wss_client client)
}
info("New ACLK protobuf protocol negotiated successfully (/env response).");
- aclk_ctx_based = 0;
- if (aclk_env_has_capa("ctx") || rrdcontext_enabled) {
- if (rrdcontext_enabled) {
- aclk_ctx_based = 1;
- info ("New CONTEXT based communication to be used");
- } else {
- error_report("Cloud wants us to use context based communication but we are not capable of it");
- }
- }
-
memset(&auth_url, 0, sizeof(url_t));
if (url_parse(aclk_env->auth_endpoint, &auth_url)) {
error("Parsing URL returned by env endpoint for authentication failed. \"%s\"", aclk_env->auth_endpoint);