aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/transfer.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index 3337b130a..b17929c0a 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -238,9 +238,10 @@ CURLcode Curl_readrewind(struct connectdata *conn)
conn->bits.rewindaftersend = FALSE; /* we rewind now */
- /* explicitly switch of sending data on this transfer now since we are about
- to restart a new transfer and thus we want to avoid inadvertently sending
- more data on the existing connection until the next request starts */
+ /* explicitly switch off sending data on this connection now since we are
+ about to restart a new transfer and thus we want to avoid inadvertently
+ sending more data on the existing connection until the next transfer
+ starts */
data->req.keepon &= ~KEEP_WRITE;
/* We have sent away data. If not using CURLOPT_POSTFIELDS or