From 09a65c55989111103a525da0c5f05897dfe99645 Mon Sep 17 00:00:00 2001 From: Martin Hurton Date: Tue, 28 Apr 2015 07:40:31 +0200 Subject: [PATCH] push: Don't delay pipe termination --- src/push.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/push.cpp b/src/push.cpp index 4da95821..d2531044 100644 --- a/src/push.cpp +++ b/src/push.cpp @@ -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_);