mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-15 10:18:01 +08:00
Fix degradation from #1382, POLLOUT was tested but not requested
This commit is contained in:
parent
934b599938
commit
3a0f218cae
@ -108,8 +108,8 @@ int zmq::proxy (
|
|||||||
int more;
|
int more;
|
||||||
size_t moresz;
|
size_t moresz;
|
||||||
zmq_pollitem_t items [] = {
|
zmq_pollitem_t items [] = {
|
||||||
{ frontend_, 0, ZMQ_POLLIN, 0 },
|
{ frontend_, 0, ZMQ_POLLIN | ZMQ_POLLOUT, 0 },
|
||||||
{ backend_, 0, ZMQ_POLLIN, 0 },
|
{ backend_, 0, ZMQ_POLLIN | ZMQ_POLLOUT, 0 },
|
||||||
{ control_, 0, ZMQ_POLLIN, 0 }
|
{ control_, 0, ZMQ_POLLIN, 0 }
|
||||||
};
|
};
|
||||||
int qt_poll_items = (control_ ? 3 : 2);
|
int qt_poll_items = (control_ ? 3 : 2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user