aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/http_proxy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/http_proxy.c b/lib/http_proxy.c
index 4f17ce2f6..90609467e 100644
--- a/lib/http_proxy.c
+++ b/lib/http_proxy.c
@@ -560,6 +560,8 @@ CURLcode Curl_proxyCONNECT(struct connectdata *conn,
infof (data, "Proxy replied OK to CONNECT request\n");
data->req.ignorebody = FALSE; /* put it (back) to non-ignore state */
+ conn->bits.rewindaftersend = FALSE; /* make sure this isn't set for the
+ document request */
return CURLE_OK;
}
#endif /* CURL_DISABLE_PROXY */