Closed cmoesel closed 10 years ago
:+1: :sparkles:
I just discovered an issue that caused some tests to fail and I fixed it. All tests (including the new test for this feature) are now PASSING. Please merge or provide feedback to me if you need something else.
:+1:
merged a combo of this and #295
Without this modification, calls to connection.end will close the socket without notifying the RabbitMQ server. This results in a warning in the RabbitMQ logs stating that the connection was closed abruptly.
This fix follows the AMQP 0-9-1 specification by sending the connectionClose method to the server and waiting for a connectionCloseOk response before closing the connection.