mirror of
https://github.com/curl/curl.git
synced 2026-07-28 17:03:06 +03:00
Init postdata properly before issuing a request, so that there isn't any
lingering POST-stuff that confuses GET requests. Juan F. Codagnone reported this problem in bug report #653859.
This commit is contained in:
parent
39a282bffc
commit
3242ea5f66
1 changed files with 2 additions and 0 deletions
|
|
@ -997,6 +997,8 @@ CURLcode Curl_http(struct connectdata *conn)
|
|||
headers = headers->next;
|
||||
}
|
||||
|
||||
http->postdata = NULL; /* nothing to post at this point */
|
||||
|
||||
switch(data->set.httpreq) {
|
||||
|
||||
case HTTPREQ_POST_FORM:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue