Марк Коренберг <socketp...@gmail.com> added the comment:

When using non-blocking IO, we issue select (or poll,epoll), and after that 
kernel should guarantee, that recv or send will complete immediatelly, 
transferring data as needed. But sometimes (as Linux is buggy), such operations 
results in EINTR error if some signal arrived during this call. In that case 
python exception generated and typically connection will be closed.
  To recover from this situation it is OK to call recv or send again in case of 
EINTR. All network functions (recv*, send*, accept, connect) are vulnerable for 
EINTR in practice.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11266>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to