go-stomp/stomp — pull request #2 by joliver (2014-08-23 06:04:55+00:00)
Title: When the server broker the connection forcefully, the client should disconnect

RabbitMQ can forcefully close the connection. When this happens the client doesn't correctly perform any shutdown behavior.

When the error frame is received, the length of the channels slice is 0, so nothing is ever signaled of the failure.