[zeromq-dev] [PULL] Fix for LIBZMQ-268 (first message sent on PUB socket with PGM is always lost)

Martin Lucina martin at lucina.net
Thu Feb 2 13:15:58 CET 2012


Hi,

please pull branch 'libzmq-268' of git://git.lucina.net/libzmq.git.

>From the commit message:

    Fix data loss for PUB/SUB and unidirectional transports (LIBZMQ-268)

    With the introduction of subscription forwarding, the first message sent
    on a PUB socket using a unidirectional transport (e.g. PGM) is always
    lost due to the "subscribe to all" being done asynchronously.

    This patch fixes the problem and also refactors the code to have a single
    point where the "subscribe to all" is performed.

    Signed-off-by: Martin Lucina <martin at lucina.net>

Available for review at:

http://git.lucina.net/libzmq.git/commit/?h=libzmq-268&id=0319cb2cd16aa40911855a1765312886bf081db2

Thanks,

-mato



More information about the zeromq-dev mailing list