Skip to content

Fix broken Connection.sendall (#12) #13

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

wolever
Copy link

@wolever wolever commented Mar 6, 2016

Fix Connection.sendall so errors in a multi-chunk sendall don't get re-sent one a retry.

I've been using this fix in production for about a month now and it seems to be stable.

Fix for #12

wolever added 2 commits March 6, 2016 13:32
PyOpenSSL will raise an EPIPE exception if the connection was already
closed when shutdown() is called. Catch and ignore that exception.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants