Skip to content

websocket: reset upload_done when sending data - #18476

Closed
icing wants to merge 1 commit into
curl:masterfrom
icing:ws-fix-upload-done
Closed

icing wants to merge 1 commit into
curl:masterfrom
icing:ws-fix-upload-done

Conversation

@icing

@icing icing commented Sep 4, 2025

Copy link
Copy Markdown
Contributor

Sending websocket data did not clear the "upload_done" flag of the initial HTTP Upgrade request, leading to KEEP_SEND never be cleared. This caused the socket to be polled for INOUT after all the websocket data had been sent. A busy loop.

Sending websocket data did not clear the "upload_done" flag of
the initial HTTP Upgrade request, leading to KEEP_SEND never be
cleared. This caused the socket to be polled for INOUT after all
the websocket data had been sent. A busy loop.
@icing icing added the WebSocket label Sep 4, 2025
@icing
icing requested a review from bagder September 4, 2025 10:48
@bagder bagder closed this in 5fa4fb0 Sep 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants