socket.send can send less data than provided #10002
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
miguelgrinberg/simple-websocket#10002
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When sending large payloads, the low-level
socket.sendfunction may decide to send only a portion of the data. The return value should be checked to see if some data was not sent.Possible fix (not thread safe):
Reference: https://github.com/miguelgrinberg/simple-websocket/issues/45