Skip to content
Snippets Groups Projects
Commit 3242ea5f authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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.
parent 39a282bf
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment