mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-28 19:52:00 +01:00
ZMQ_FILTER option removed
The filtering is now done depending on the socket type. SUB socket filters the messages (end-to-end filtering) while XSUB relies on upstream nodes to do (imprefect) filtering. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
@@ -25,6 +25,10 @@ zmq::sub_t::sub_t (class ctx_t *parent_, uint32_t tid_) :
|
||||
xsub_t (parent_, tid_)
|
||||
{
|
||||
options.type = ZMQ_SUB;
|
||||
|
||||
// Switch filtering messages on (as opposed to XSUB which where the
|
||||
// filtering is off).
|
||||
options.filter = true;
|
||||
}
|
||||
|
||||
zmq::sub_t::~sub_t ()
|
||||
|
||||
Reference in New Issue
Block a user