diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-05-04 23:58:56 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-04 23:58:56 +0200 |
commit | 419272d87b7a611ea55736c284df9615d22ec6af (patch) | |
tree | 06eb43fdbabdffdfd00044ed30ee0b50b454486f /http.c | |
parent | Merge branch 'jk/maint-stash-oob' into maint (diff) | |
parent | http: clear POSTFIELDS when initializing a slot (diff) | |
download | git-419272d87b7a611ea55736c284df9615d22ec6af.tar.xz git-419272d87b7a611ea55736c284df9615d22ec6af.zip |
Merge branch 'sp/maint-clear-postfields' into maint
* sp/maint-clear-postfields:
http: clear POSTFIELDS when initializing a slot
Diffstat (limited to 'http.c')
-rw-r--r-- | http.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |