diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-03-20 11:50:51 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-03-20 11:50:51 +0100 |
commit | 92c7c18367f91c6341fc617026f5e25000466b05 (patch) | |
tree | f4c8714fa17ecb6c22906757153533fc41d1bdbd /include/zmq.hpp | |
parent | fac9c2da56073d15cfe25ea2bb5833cb5b9cfff6 (diff) |
Message atomicity problem solved in PUB socket
When new peer connects to a PUB socket while it is in the middle
of sending of multi-part messages, it gets just the remaining
part of the message, i.e. message atomicity is broken.
This patch drops the tail part of the message and starts sending
to the peer only when new message is started.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'include/zmq.hpp')
0 files changed, 0 insertions, 0 deletions