summaryrefslogtreecommitdiff
path: root/src/sub.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-03-20 11:50:51 +0100
committerMartin Sustrik <sustrik@250bpm.com>2011-03-20 11:50:51 +0100
commit92c7c18367f91c6341fc617026f5e25000466b05 (patch)
treef4c8714fa17ecb6c22906757153533fc41d1bdbd /src/sub.cpp
parentfac9c2da56073d15cfe25ea2bb5833cb5b9cfff6 (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 'src/sub.cpp')
0 files changed, 0 insertions, 0 deletions