diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-26 08:15:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-26 08:15:35 +0000 |
commit | f09848204fa5283d21ea43e262ee41aa578e1808 (patch) | |
tree | c62385d7adf209fa6a798635954d887f718fb3fb /src/aclk/https_client.c | |
parent | Releasing debian version 1.46.3-2. (diff) | |
download | netdata-f09848204fa5283d21ea43e262ee41aa578e1808.tar.xz netdata-f09848204fa5283d21ea43e262ee41aa578e1808.zip |
Merging upstream version 1.47.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/aclk/https_client.c')
-rw-r--r-- | src/aclk/https_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aclk/https_client.c b/src/aclk/https_client.c index 2bc768f2..8c44f13e 100644 --- a/src/aclk/https_client.c +++ b/src/aclk/https_client.c @@ -696,7 +696,7 @@ int https_request(https_req_t *request, https_req_response_t *response) { goto exit_CTX; } - if (!SSL_set_tlsext_host_name(ctx->ssl, connect_host)) { + if (!SSL_set_tlsext_host_name(ctx->ssl, request->host)) { netdata_log_error("Error setting TLS SNI host"); goto exit_CTX; } |