← Commit list

99ead4e0f0

Daniel Stenberg
Daniel Stenberg
2026-04-14
SUCCESS Duration: 228s

Subject

request: cleanup the auth headers on soft rest as well

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/request.c+5 -0
@@ -65,6 +65,11 @@ CURLcode Curl_req_soft_reset(struct SingleRequest *req,
req->httpversion = 0;
req->sendbuf_hds_len = 0;
+ curlx_safefree(req->userpwd);
+#ifndef CURL_DISABLE_PROXY
+ curlx_safefree(req->proxyuserpwd);
+#endif
+
result = Curl_client_start(data);
if(result)
return result;