-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
AmqpProtocol did not close connection properly #14
Comments
according to the docs of rabbitmq, it seems AmqpProtocol just simply close the underlying socket connection, without sending a proper close signal(?) to rabbitmq first.
althrough, i think implemeting the "normal close" is still good to have. |
I agree and it should close cleanly (when not crashing). I'll look into it (though it'll be a couple weeks before I can get to it). Pull requests welcome. ;-) |
according to the amqp 0-9-1 reference, there is a after dived into the code, and i think it could be caused by the following code:
since connection_closed is always set before waiting, the later wait() does not work as expected. |
Was this fixed? Or can I work on it? |
reproduce: (just copied from examples/send.py)
env:
logs at the rabbitmq side:
rabbitmq complains
client unexpectedly closed TCP connection
.as comparison, i tried pika, and here is rabbitmq's logs
The text was updated successfully, but these errors were encountered: