Revert "lib: send eos flag"

This reverts commit be93299f10.
This commit is contained in:
Daniel Stenberg 2024-07-19 01:38:05 +02:00
parent 46ef34c053
commit 25321de30e
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
41 changed files with 166 additions and 200 deletions

View file

@ -1019,7 +1019,7 @@ static CURLcode ws_flush(struct Curl_easy *data, struct websocket *ws,
if(data->set.connect_only)
result = Curl_senddata(data, out, outlen, &n);
else {
result = Curl_xfer_send(data, out, outlen, FALSE, &n);
result = Curl_xfer_send(data, out, outlen, &n);
if(!result && !n && outlen)
result = CURLE_AGAIN;
}
@ -1088,7 +1088,7 @@ CURL_EXTERN CURLcode curl_ws_send(CURL *data, const void *buffer,
/* raw mode sends exactly what was requested, and this is from within
the write callback */
if(Curl_is_in_callback(data)) {
result = Curl_xfer_send(data, buffer, buflen, FALSE, &nwritten);
result = Curl_xfer_send(data, buffer, buflen, &nwritten);
}
else
result = Curl_senddata(data, buffer, buflen, &nwritten);