diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-11-25 17:33:56 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-11-25 17:34:10 +0000 |
commit | 83ba6762cc43d9db581b979bb5e3445669e46cc2 (patch) | |
tree | 2e69833b43f791ed253a7a20318b767ebe56cdb8 /src/web/server/web_client_cache.c | |
parent | Releasing debian version 1.47.5-1. (diff) | |
download | netdata-83ba6762cc43d9db581b979bb5e3445669e46cc2.tar.xz netdata-83ba6762cc43d9db581b979bb5e3445669e46cc2.zip |
Merging upstream version 2.0.3+dfsg (Closes: #923993, #1042533, #1045145).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/web/server/web_client_cache.c')
-rw-r--r-- | src/web/server/web_client_cache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/web/server/web_client_cache.c b/src/web/server/web_client_cache.c index 654577e8a..ebc428894 100644 --- a/src/web/server/web_client_cache.c +++ b/src/web/server/web_client_cache.c @@ -119,15 +119,14 @@ struct web_client *web_client_get_from_cache(void) { w->mode = HTTP_REQUEST_MODE_GET; web_client_reset_permissions(w); memset(w->transaction, 0, sizeof(w->transaction)); + memset(&w->auth, 0, sizeof(w->auth)); return w; } void web_client_release_to_cache(struct web_client *w) { -#ifdef ENABLE_HTTPS netdata_ssl_close(&w->ssl); -#endif // unlink it from the used spinlock_lock(&web_clients_cache.used.spinlock); |