mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 18:40:27 +01:00
Merge pull request #1360 from hurtonm/master
Adjust number of sent messages on hiccups
This commit is contained in:
commit
f053854e51
@ -267,6 +267,8 @@ void zmq::pipe_t::process_hiccup (void *pipe_)
|
||||
outpipe->flush ();
|
||||
msg_t msg;
|
||||
while (outpipe->read (&msg)) {
|
||||
if (!(msg.flags () & msg_t::more))
|
||||
msgs_written--;
|
||||
int rc = msg.close ();
|
||||
errno_assert (rc == 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user