Merge pull request #2593 from ilovexyz/dev

fix bug: #2592 dish client does not resend subscriptions to radio server after radio server restart
This commit is contained in:
Doron Somech 2017-06-12 07:34:28 +03:00 committed by GitHub
commit 10a9ba0926

View File

@ -521,7 +521,7 @@ void zmq::session_base_t::reconnect ()
// For subscriber sockets we hiccup the inbound pipe, which will cause
// the socket object to resend all the subscriptions.
if (pipe && (options.type == ZMQ_SUB || options.type == ZMQ_XSUB))
if (pipe && (options.type == ZMQ_SUB || options.type == ZMQ_XSUB || options.type == ZMQ_DISH))
pipe->hiccup ();
}