-
Notifications
You must be signed in to change notification settings - Fork 228
sendall of more than 64k not working #60
Copy link
Copy link
Closed
Milestone
Description
Line 1221 in 0a58cc2
| sendall = send # FIXME see note above! |
to fix:
def sendall(self, data, flags=0):
chunk_size = 8192
length = len(data)
data_view = memoryview(data)
idx = 0
while idx < length:
bytes_sent = self.send(data_view[idx:idx + chunk_size], flags=flags)
idx += bytes_sentReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels