New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
asyncore does not check for EAGAIN and EPIPE errno #55474
Comments
According to man: patch included |
patch updated for handling EPIPE |
Ok for EAGAIN. I'm not completely sure about EPIPE on recv() as it is not listed here: In pyftpdlib I treat both EPIPE and EBADF as disconnect events, and this works with both select() and poll(). Your patches should be targeted for python 3.3 (and not 2.x). |
Giampaolo pinged me over email... These additional conditions look good, and should be targeted for 3.3 . Thank you :) |
Fixed in r88722. |
mmarkk@fad:/usr/include$ fgrep EWOULDB -r . So not catching EAGAIN ( at least in Linux) can not make some tests hang. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: