mirror of
https://github.com/zeromq/libzmq.git
synced 2025-07-05 10:00:04 +02:00
Merge pull request #302 from hurtonm/router_bugfix
Fix error in router socket introduced in the previous commit
This commit is contained in:
commit
a969028977
@ -108,8 +108,10 @@ void zmq::router_t::xread_activated (pipe_t *pipe_)
|
|||||||
fq.activated (pipe_);
|
fq.activated (pipe_);
|
||||||
else {
|
else {
|
||||||
bool identity_ok = identify_peer (pipe_);
|
bool identity_ok = identify_peer (pipe_);
|
||||||
if (identity_ok)
|
if (identity_ok) {
|
||||||
anonymous_pipes.erase (it);
|
anonymous_pipes.erase (it);
|
||||||
|
fq.attach (pipe_);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user