diff --git a/lib/request.h b/lib/request.h index 6662cf19e7..ec127cb82e 100644 --- a/lib/request.h +++ b/lib/request.h @@ -109,7 +109,6 @@ struct SingleRequest { * checks, pausing by client callbacks. */ struct { struct Curl_creader *stack; - BIT(paused); } reader; struct bufq sendbuf; /* data which needs to be send to the server */ size_t sendbuf_hds_len; /* amount of header bytes in sendbuf */ diff --git a/lib/sendf.c b/lib/sendf.c index 8f51a772a2..114b550578 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -53,6 +53,7 @@ static void cl_reset_writer(struct Curl_easy *data) curlx_free(writer); writer = data->req.writer.stack; } + data->req.writer.paused = FALSE; } static void cl_reset_reader(struct Curl_easy *data)