Skip to content

Commit 419272d

Browse files
committed
Merge branch 'sp/maint-clear-postfields' into maint
* sp/maint-clear-postfields: http: clear POSTFIELDS when initializing a slot
2 parents be44a20 + 1e41827 commit 419272d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

http.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,7 @@ struct active_request_slot *get_active_slot(void)
536536
curl_easy_setopt(slot->curl, CURLOPT_CUSTOMREQUEST, NULL);
537537
curl_easy_setopt(slot->curl, CURLOPT_READFUNCTION, NULL);
538538
curl_easy_setopt(slot->curl, CURLOPT_WRITEFUNCTION, NULL);
539+
curl_easy_setopt(slot->curl, CURLOPT_POSTFIELDS, NULL);
539540
curl_easy_setopt(slot->curl, CURLOPT_UPLOAD, 0);
540541
curl_easy_setopt(slot->curl, CURLOPT_HTTPGET, 1);
541542

0 commit comments

Comments
 (0)