Add optional Virtual Host support
Mattie Schraeder
Branch: afrozenpeach/stomp:VirtualHostSupport
Branch: m1hael/stomp:master
Merged
Merged pull request
Merged in afrozenpeach/stomp/VirtualHostSupport (pull request #1)
Merged in afrozenpeach/stomp/VirtualHostSupport (pull request #1)
While STOMP 1.0 doesn’t natively support the host header to set a virtual host, RabbitMQ accepts it as an optional header so that virtual hosts can still be used with STOMP 1.0
This pull request adds support for the host header via a new stomp_setVirtualHost function, and on connect if that option has been set it will add the header.