Fix degradation from #1382, POLLOUT was tested but not requested

This commit is contained in:
Rik van der Heijden 2015-05-24 22:39:36 +02:00
parent 099fd43836
commit ae630cf3eb

View File

@ -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);