From 3a0f218cae1d8af36ce19df1ed52e3fb431a8a28 Mon Sep 17 00:00:00 2001 From: Rik van der Heijden Date: Sun, 24 May 2015 22:38:22 +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 b97b52c78a..6a468286ab 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);