diff options
| author | Jakub Stasiak <jakub@stasiak.at> | 2015-11-11 00:11:02 +0100 |
|---|---|---|
| committer | Jakub Stasiak <jakub@stasiak.at> | 2015-11-11 00:25:00 +0100 |
| commit | 719e987c0de7f3c69f5b0fa6e51a65beba1068b8 (patch) | |
| tree | 1c79c03aacf62582c9de8bff83057781def06078 /.gitignore | |
| parent | da7f9732b6d9d52c8bca5cdbb536beb1fac14b44 (diff) | |
| download | eventlet-socket-send.tar.gz | |
greenio: Remove sendall-like semantincs from GreenSocket.sendsocket-send
When a socket timeout was set the sendall-like semantics was resulting
in losing information about sent data and raising socket.timeout exception.
The previous GreenSocket.send() implementation used to call fd.send() in a
loop until all data was sent. The issue would manifest if at least one
fd.send() call succeeded and was followed by a fd.send() call that would
block and a trampoline that timed out. The client code would see
socket.timeout being raised and would rightfully assume that no data was
sent which would be incorrect.
Discussed at https://github.com/eventlet/eventlet/issues/260.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions
