mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-17 08:34:00 +00:00
push: Don't delay pipe termination
This commit is contained in:
parent
b589fb98b8
commit
812c2016b1
@ -36,6 +36,9 @@ void zmq::push_t::xattach_pipe (pipe_t *pipe_, bool subscribe_to_all_)
|
|||||||
{
|
{
|
||||||
// subscribe_to_all_ is unused
|
// subscribe_to_all_ is unused
|
||||||
(void)subscribe_to_all_;
|
(void)subscribe_to_all_;
|
||||||
|
// Don't delay pipe termination as there is no one
|
||||||
|
// to receive the delimiter.
|
||||||
|
pipe_->set_nodelay ();
|
||||||
|
|
||||||
zmq_assert (pipe_);
|
zmq_assert (pipe_);
|
||||||
lb.attach (pipe_);
|
lb.attach (pipe_);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user