mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-13 14:45:38 +02:00
Problem: duplicated code & inconsistent behaviour between
mechanisms Solution: uniformly require a ZAP domain to be set to activate ZAP handling, clarify comment on Stonehouse pattern
This commit is contained in:
@@ -286,8 +286,10 @@ void zmq::session_base_t::read_activated (pipe_t *pipe_)
|
||||
|
||||
if (likely (pipe_ == pipe))
|
||||
engine->restart_output ();
|
||||
else
|
||||
else {
|
||||
// i.e. pipe_ == zap_pipe
|
||||
engine->zap_msg_available ();
|
||||
}
|
||||
}
|
||||
|
||||
void zmq::session_base_t::write_activated (pipe_t *pipe_)
|
||||
|
Reference in New Issue
Block a user