X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http.c;h=b27bb57d627f19d725b1f24aa3f06d261e48f8e5;hb=f143d9c695cd4c3e86069c536fa0dff04fc93e93;hp=9e767723ed1045445e91e79489cb8ec8bb861965;hpb=05f08e4c9ed4a9c34eb2d62300189a3e8a86b5a5;p=git.git diff --git a/http.c b/http.c index 9e767723e..b27bb57d6 100644 --- a/http.c +++ b/http.c @@ -536,6 +536,7 @@ struct active_request_slot *get_active_slot(void) curl_easy_setopt(slot->curl, CURLOPT_CUSTOMREQUEST, NULL); curl_easy_setopt(slot->curl, CURLOPT_READFUNCTION, NULL); curl_easy_setopt(slot->curl, CURLOPT_WRITEFUNCTION, NULL); + curl_easy_setopt(slot->curl, CURLOPT_POSTFIELDS, NULL); curl_easy_setopt(slot->curl, CURLOPT_UPLOAD, 0); curl_easy_setopt(slot->curl, CURLOPT_HTTPGET, 1);