• Ian Barber's avatar
    Allow blocking while connect() is completing · e5904e63
    Ian Barber authored
    This patch, salvaged from a trainwreck accidental merge earlier, adds a
    new sockopt, ZMQ_DELAY_ATTACH_ON_CONNECT which prevents a end point
    being available to push messages to until it has fully connected, making
    connect work more like bind. This also applies to reconnecting sockets,
    which may cause message loss of in-queue messages, so it is sensible to
    use this in conjunction with a low HWM and potentially an alternative
    acknowledgement path.
    
    Notes on most of the individual commits can be found the repository log.
    e5904e63
Name
Last commit
Last update
..
Makefile.am Loading commit data...
test_connect_delay.cpp Loading commit data...
test_connect_resolve.cpp Loading commit data...
test_hwm.cpp Loading commit data...
test_invalid_rep.cpp Loading commit data...
test_last_endpoint.cpp Loading commit data...
test_monitor.cpp Loading commit data...
test_msg_flags.cpp Loading commit data...
test_pair_inproc.cpp Loading commit data...
test_pair_ipc.cpp Loading commit data...
test_pair_tcp.cpp Loading commit data...
test_reqrep_device.cpp Loading commit data...
test_reqrep_inproc.cpp Loading commit data...
test_reqrep_ipc.cpp Loading commit data...
test_reqrep_tcp.cpp Loading commit data...
test_shutdown_stress.cpp Loading commit data...
test_sub_forward.cpp Loading commit data...
test_term_endpoint.cpp Loading commit data...
test_timeo.cpp Loading commit data...
testutil.hpp Loading commit data...