Fix for issue #307 #291

Merged
merged 1 commit into from Mar 26, 2012

2 participants

@rcxdude

dist_t distribute() was skipping over pipes when one failed because the non-working pipe got swapped with a working pipe but the write was never retried on that pipe. This fix retries the write with the same index so the newly swapped pipe is also written to. This should stop apparently dropped PUB/XPUB messages due to closed SUB sockets.

@rcxdude rcxdude Fix for issue #307
dist was skipping over pipes when one failed because the non-working pipe got
swapped with a working pipe but the write was never retried on that pipe
084e1c2
@ianbarber ianbarber merged commit 4c93fc2 into zeromq:master Mar 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment