From 4d6efa063339c67b77ab2ef3be4540659c7d4f74 Mon Sep 17 00:00:00 2001 From: Omar Kallel Date: Tue, 5 May 2020 17:29:46 +0100 Subject: [PATCH] Use curl_eas_reset_no_auth instead of curl_easy_reset --- http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http.c b/http.c index 89f021a..712161c 100644 --- a/http.c +++ b/http.c @@ -307,7 +307,7 @@ http_send_message(struct cwmp *cwmp, char *msg_out, int msg_out_len,char **msg_i /* TODO add check for 301, 302 and 307 HTTP Redirect*/ - curl_easy_reset(curl); + curl_easy_reset_no_auth(curl); if (http_c.header_list) { curl_slist_free_all(http_c.header_list); http_c.header_list = NULL;