diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-03-20 20:52:54 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-03-20 20:52:54 +0100 |
commit | 1619b3d84a04fe1886347fd83280a6070c9603f4 (patch) | |
tree | 817536a0e500227dcf1463f68d88375cd75dd9ec /src/lb.hpp | |
parent | 92c7c18367f91c6341fc617026f5e25000466b05 (diff) |
Message atomicity bug in load-balancer fixed
If the peer getting the message have disconnected in the middle
of multiplart message, the remaining part of the message went
to a different peer. This patch fixes the issue.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/lb.hpp')
-rw-r--r-- | src/lb.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -61,6 +61,9 @@ namespace zmq // True if last we are in the middle of a multipart message. bool more; + // True if we are dropping current message. + bool dropping; + // Object to send events to. class own_t *sink; |