Skip to content

Commit

Permalink
Merge pull request zeromq#2593 from ilovexyz/dev
Browse files Browse the repository at this point in the history
fix bug: zeromq#2592 dish client does not resend subscriptions to radio server after radio server restart
  • Loading branch information
somdoron authored Jun 12, 2017
2 parents 9980593 + af598f2 commit 10a9ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/session_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
}

Expand Down

0 comments on commit 10a9ba0

Please sign in to comment.