push: Don't delay pipe termination

This commit is contained in:
Martin Hurton 2015-04-28 07:40:31 +02:00
parent aabbe3f33a
commit 09a65c5598

View File

@ -36,6 +36,9 @@ void zmq::push_t::xattach_pipe (pipe_t *pipe_, bool subscribe_to_all_)
{
// subscribe_to_all_ is unused
(void)subscribe_to_all_;
// Don't delay pipe termination as there is no one
// to receive the delimiter.
pipe_->set_nodelay ();
zmq_assert (pipe_);
lb.attach (pipe_);