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

Bugfix: not closing socket after server disconnect #374

Merged
merged 1 commit into from Dec 12, 2021

Conversation

michael-lazar
Copy link
Contributor

When the connection is closed on the remote side, calling socket.shutdown() may raise an OSError. This fix makes sure that sock.close() is always called so the socket is closed cleanly.

https://stackoverflow.com/a/598759

See celery/celery#4843 (comment) for more details.

@AvnerCohen
Copy link

@auvipy Is there a py-amqp pypi build expected soon ?

@auvipy
Copy link
Member

auvipy commented Dec 13, 2021

yes today :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants