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

Connection.transport_closed should set self._closed #77

Open
vitaly-krugl opened this issue May 27, 2015 · 0 comments
Open

Connection.transport_closed should set self._closed #77

vitaly-krugl opened this issue May 27, 2015 · 0 comments

Comments

@vitaly-krugl
Copy link

  1. Establish connection conn = Connection()
  2. Create a channel ch = conn.channel()
  3. Bring down RabbitMQ broker
  4. Attempt an operation on the channel, and SocketTransport detects lost connection and calls Connection.transport_closed(...)
  5. conn.closed still reports False

To fix, Connection.transport_closed() should also set self._closed = True

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

No branches or pull requests

1 participant