From ae630cf3eb986815843e7cd1ec0238d2729bba2a Mon Sep 17 00:00:00 2001 From: Rik van der Heijden Date: Sun, 24 May 2015 22:39:36 +0200 Subject: [PATCH] Fix degradation from #1382, POLLOUT was tested but not requested --- src/proxy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/proxy.cpp b/src/proxy.cpp index de0f045a..0db8fdc3 100644 --- a/src/proxy.cpp +++ b/src/proxy.cpp @@ -108,8 +108,8 @@ int zmq::proxy ( int more; size_t moresz; zmq_pollitem_t items [] = { - { frontend_, 0, ZMQ_POLLIN, 0 }, - { backend_, 0, ZMQ_POLLIN, 0 }, + { frontend_, 0, ZMQ_POLLIN | ZMQ_POLLOUT, 0 }, + { backend_, 0, ZMQ_POLLIN | ZMQ_POLLOUT, 0 }, { control_, 0, ZMQ_POLLIN, 0 } }; int qt_poll_items = (control_ ? 3 : 2);