mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-07 05:58:45 +01:00
Problem: sub/cancel broken with CURVE
Solution: handle downgrading sub/cancel messages in CURVE engine
This commit is contained in:
@@ -41,10 +41,14 @@
|
||||
#include "secure_allocator.hpp"
|
||||
|
||||
zmq::curve_client_t::curve_client_t (session_base_t *session_,
|
||||
const options_t &options_) :
|
||||
const options_t &options_,
|
||||
const bool downgrade_sub_) :
|
||||
mechanism_base_t (session_, options_),
|
||||
curve_mechanism_base_t (
|
||||
session_, options_, "CurveZMQMESSAGEC", "CurveZMQMESSAGES"),
|
||||
curve_mechanism_base_t (session_,
|
||||
options_,
|
||||
"CurveZMQMESSAGEC",
|
||||
"CurveZMQMESSAGES",
|
||||
downgrade_sub_),
|
||||
_state (send_hello),
|
||||
_tools (options_.curve_public_key,
|
||||
options_.curve_secret_key,
|
||||
|
||||
Reference in New Issue
Block a user