Problem: sub/cancel broken with CURVE

Solution: handle downgrading sub/cancel messages in CURVE engine
This commit is contained in:
Luca Boccassi
2020-05-03 17:29:19 +01:00
parent 534580c31d
commit 60ccf54fa6
10 changed files with 78 additions and 29 deletions

View File

@@ -48,9 +48,11 @@ void test_roundtrip (zmq::msg_t *msg_)
+ msg_->size ());
zmq::curve_encoding_t encoding_client ("CurveZMQMESSAGEC",
"CurveZMQMESSAGES");
"CurveZMQMESSAGES",
false);
zmq::curve_encoding_t encoding_server ("CurveZMQMESSAGES",
"CurveZMQMESSAGEC");
"CurveZMQMESSAGEC",
false);
uint8_t client_public[32];
uint8_t client_secret[32];