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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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: