-
Notifications
You must be signed in to change notification settings - Fork 839
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
Fix #535, allowing the expected reply_code
and reply_text
to be passed to on_close_callback
#537
Conversation
This fixes #535. Need to re-run the build, as it failed while github was under severe DDoS attack. |
Thanks for the PR, I'll take a look ASAP. |
…me to Connection._on_disconnect from Connection._on_connection_closed
1609fbf
to
0c9be99
Compare
1 similar comment
There's also another problem with this part of the code though. I always see a warning message from the
connection_state = 6 meaning CONNECTION_CLOSING which makes sense since
But there are probably issues with swapping the order of the calls that I'm not aware of. |
Thanks @robochat, I will see about cleaning up the warning. |
Will merge with the intention of doing a full regression test before releasing. |
Fix #535, allowing the expected `reply_code` and `reply_text` to be passed to `on_close_callback`
@robochat, would you mind filing your feedback about the warning "Unknown state on disconnect: 6" as an Issue in pika? Thx! |
Pass expected reply_code and reply_text from method frame to Connection._on_disconnect from Connection._on_connection_closed. Fixes #535