alanxz/rabbitmq-c — pull request #188 by mikes-spindance (2014-06-26 15:05:57+00:00)
Title: Issue/187

Alan,

This pull request fixes issue https://github.com/alanxz/rabbitmq-c/issues/187 .

When testing the code by connecting rabbitmq-c to:
- a webserver rather than a broker - behind CyaSSL
- and to a rabbitmq broker - behind CyaSSL
I couldn't quite fix it the way we discussed.

It seems that the fall through when the protocol header does not start with "AMQP" is necessary. The rabbitmq broker we are using does not start with "AMQP"

-best

-Mike