summaryrefslogtreecommitdiff
path: root/builds/msvc/c_remote_thr
diff options
context:
space:
mode:
authorMartin Lucina <martin@lucina.net>2012-02-16 10:01:53 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:01:53 +0900
commit486a4471d860bc4e1f733fb7b4dda6e28d1ed8bc (patch)
treef40145f09c7a9bf57ec412c2710a1ff28f93bf3a /builds/msvc/c_remote_thr
parent4a7aad06d95701cf232198093ce396dcdbb53e5b (diff)
Fix pgm_receiver.cpp: zmq_assert (pending_bytes == 0) (LIBZMQ-205)
This patch fixes the problem described in LIBZMQ-205. The assertion itself is probably caused by previously queued POLLIN events arriving after POLLIN has been disabled on the socket. The following additional bugs have been fixed as part of debugging this problem: - pgm_receiver_t does not flush messages written to the session in all cases which can lead to a stalled reader. Add calls to session->flush () in the appropriate places. - ensure to restart polling when a pending message is flushed in activate_in (). Signed-off-by: Martin Lucina <martin@lucina.net>
Diffstat (limited to 'builds/msvc/c_remote_thr')
0 files changed, 0 insertions, 0 deletions