summaryrefslogtreecommitdiff
path: root/lib/ws.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ws.c')
-rw-r--r--lib/ws.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ws.c b/lib/ws.c
index 6070cd6d0..229539c3f 100644
--- a/lib/ws.c
+++ b/lib/ws.c
@@ -882,7 +882,6 @@ static CURLcode ws_enc_write_payload(struct ws_encoder *enc,
}
-
struct cr_ws_ctx {
struct Curl_creader super;
BIT(read_eos); /* we read an EOS from the next reader */
@@ -1200,6 +1199,7 @@ CURLcode Curl_ws_accept(struct Curl_easy *data,
/* start over with sending */
data->req.eos_read = FALSE;
+ data->req.upload_done = FALSE;
k->keepon |= KEEP_SEND;
}