Commit ec20a84c authored by Amin Ben Ramdhane's avatar Amin Ben Ramdhane

Fix the segfault related to curl_easy_reset_no_auth() function

parent c2aef839
Pipeline #869 passed with stage
in 48 seconds
......@@ -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_no_auth(curl);
curl_easy_reset(curl);
if (http_c.header_list) {
curl_slist_free_all(http_c.header_list);
http_c.header_list = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment