• Andre Caron's avatar
    Adds support for detecting ZMQ_STREAM disconnections. · 17651b92
    Andre Caron authored
    When a ZMQ_STREAM socket connection is broken (intentionally, via `shutdown()`
    or accidentally via client crash or network failure), there is no way for the
    application to dertermine that it should drop per-connection data (such as
    buffers).
    
    This contribution makes sure the application receives a 0-length message to
    notify it that the connection has been broken.  This is symmetric with the
    process of closing the connection from within the application (where the
    application sends a 0-length message to tell ZeroMQ to close the connection).
    
    Conflicts:
    	CMakeLists.txt
    17651b92
Name
Last commit
Last update
..
Makefile.am Loading commit data...
asciidoc.conf Loading commit data...
zmq.txt Loading commit data...
zmq_bind.txt Loading commit data...
zmq_close.txt Loading commit data...
zmq_connect.txt Loading commit data...
zmq_ctx_destroy.txt Loading commit data...
zmq_ctx_get.txt Loading commit data...
zmq_ctx_new.txt Loading commit data...
zmq_ctx_set.txt Loading commit data...
zmq_ctx_shutdown.txt Loading commit data...
zmq_ctx_term.txt Loading commit data...
zmq_curve.txt Loading commit data...
zmq_curve_keypair.txt Loading commit data...
zmq_disconnect.txt Loading commit data...
zmq_epgm.txt Loading commit data...
zmq_errno.txt Loading commit data...
zmq_getsockopt.txt Loading commit data...
zmq_init.txt Loading commit data...
zmq_inproc.txt Loading commit data...
zmq_ipc.txt Loading commit data...
zmq_msg_close.txt Loading commit data...
zmq_msg_copy.txt Loading commit data...
zmq_msg_data.txt Loading commit data...
zmq_msg_get.txt Loading commit data...
zmq_msg_init.txt Loading commit data...
zmq_msg_init_data.txt Loading commit data...
zmq_msg_init_size.txt Loading commit data...
zmq_msg_more.txt Loading commit data...
zmq_msg_move.txt Loading commit data...
zmq_msg_recv.txt Loading commit data...
zmq_msg_send.txt Loading commit data...
zmq_msg_set.txt Loading commit data...
zmq_msg_size.txt Loading commit data...
zmq_null.txt Loading commit data...
zmq_pgm.txt Loading commit data...
zmq_plain.txt Loading commit data...
zmq_poll.txt Loading commit data...
zmq_proxy.txt Loading commit data...
zmq_proxy_steerable.txt Loading commit data...
zmq_recv.txt Loading commit data...
zmq_recvmsg.txt Loading commit data...
zmq_send.txt Loading commit data...
zmq_send_const.txt Loading commit data...
zmq_sendmsg.txt Loading commit data...
zmq_setsockopt.txt Loading commit data...
zmq_socket.txt Loading commit data...
zmq_socket_monitor.txt Loading commit data...
zmq_strerror.txt Loading commit data...
zmq_tcp.txt Loading commit data...
zmq_term.txt Loading commit data...
zmq_tipc.txt Loading commit data...
zmq_unbind.txt Loading commit data...
zmq_version.txt Loading commit data...
zmq_z85_decode.txt Loading commit data...
zmq_z85_encode.txt Loading commit data...