Skip to content

Commit

Permalink
Merge pull request #115 from rikvdh/master
Browse files Browse the repository at this point in the history
Fix degradation from #1382, POLLOUT was tested but not requested
  • Loading branch information
hintjens committed May 24, 2015
2 parents 1a86783 + 683059d commit 60568f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,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);
Expand Down

0 comments on commit 60568f2

Please sign in to comment.