mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-19 00:46:05 +01:00
Merge pull request #545 from hurtonm/master
Interoperate with higher versions of ZMTP protocol
This commit is contained in:
commit
f4a07b3951
@ -478,9 +478,7 @@ bool zmq::stream_engine_t::handshake ()
|
||||
in_batch_size, options.maxmsgsize);
|
||||
alloc_assert (decoder);
|
||||
}
|
||||
else
|
||||
if (greeting_recv [revision_pos] == ZMTP_2_0
|
||||
|| greeting_recv [revision_pos] == ZMTP_2_1) {
|
||||
else {
|
||||
encoder = new (std::nothrow) v2_encoder_t (out_batch_size);
|
||||
alloc_assert (encoder);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user