aboutsummaryrefslogtreecommitdiff
path: root/lib/easy.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/easy.c')
-rw-r--r--lib/easy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/easy.c b/lib/easy.c
index 7a8278dd8..34d76caab 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -555,6 +555,7 @@ void curl_easy_reset(CURL *curl)
data->set.fread = (curl_read_callback)fread;
data->set.infilesize = -1; /* we don't know any size */
+ data->set.postfieldsize = -1;
data->state.current_speed = -1; /* init to negative == impossible */