mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 10:33:52 +01:00
Merge pull request #4456 from djolemanojlovic/fix_4106
Problem: Handshake timeout error with ZMTP_2_0
This commit is contained in:
commit
3ff3c6cdf3
16
RELICENSE/djolemanojlovic.md
Normal file
16
RELICENSE/djolemanojlovic.md
Normal file
@ -0,0 +1,16 @@
|
||||
# Permission to Relicense under MPLv2 or any other OSI approved license chosen by the current ZeroMQ BDFL
|
||||
|
||||
This is a statement by Đorđije Manojlović
|
||||
that grants permission to relicense its copyrights in the libzmq C++
|
||||
library (ZeroMQ) under the Mozilla Public License v2 (MPLv2) or any other
|
||||
Open Source Initiative approved license chosen by the current ZeroMQ
|
||||
BDFL (Benevolent Dictator for Life).
|
||||
|
||||
A portion of the commits made by the Github handle "djolemanojlovic", with
|
||||
commit author "Đorđije Manojlović <djordjije.manojlovic@omicronenergy.com>",
|
||||
are copyright of Đorđije Manojlović.
|
||||
This document hereby grants the libzmq project team to relicense libzmq,
|
||||
including all past, present and future contributions of the author listed above.
|
||||
|
||||
Đorđije Manojlović
|
||||
2022/11/11
|
@ -255,8 +255,14 @@ bool zmq::stream_engine_base_t::in_event_internal ()
|
||||
// Switch into the normal message flow.
|
||||
_handshaking = false;
|
||||
|
||||
if (_mechanism == NULL && _has_handshake_stage)
|
||||
if (_mechanism == NULL && _has_handshake_stage) {
|
||||
_session->engine_ready ();
|
||||
|
||||
if (_has_handshake_timer) {
|
||||
cancel_timer (handshake_timer_id);
|
||||
_has_handshake_timer = false;
|
||||
}
|
||||
}
|
||||
} else
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user