Skip to content
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

Catch socket.errors when sending / recving bytes on wake socketpair #1069

Merged
merged 1 commit into from
Apr 5, 2017

Conversation

dpkp
Copy link
Owner

@dpkp dpkp commented Apr 5, 2017

During a travis test run, producer.close() triggered an unhandled exception during client.wakeup(). The exception was a Broken Pipe during send on the wakeup socketpair. I am not sure what caused the other side of the socketpair to close, but I think we should catch the error and log a warning rather than crash.

@dpkp dpkp merged commit bb9642f into master Apr 5, 2017
@jeffwidman jeffwidman deleted the wake_socketpair_exceptions branch April 5, 2017 20:22
88manpreet pushed a commit to Yelp/kafka-python that referenced this pull request Aug 25, 2017
88manpreet pushed a commit to Yelp/kafka-python that referenced this pull request Oct 6, 2017
88manpreet pushed a commit to Yelp/kafka-python that referenced this pull request Jul 16, 2018
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.

1 participant