mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-01 10:50:28 +08: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_);
|
||||
else {
|
||||
bool identity_ok = identify_peer (pipe_);
|
||||
if (identity_ok)
|
||||
if (identity_ok) {
|
||||
anonymous_pipes.erase (it);
|
||||
fq.attach (pipe_);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user