mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-01 10:50:28 +08:00
edb4ca1023
Solution: when a connection breaks and ZMQ_RECONNECT_IVL is set to -1, which means a reconnection will not be attempted, send a message from the I/O thread to the application thread to make the socket call term_endpoint, which is the equivalent of manually calling zmq_disconnect. This way subsequent zmq_connect call to the same endpoint will attempt again to do a connection. Otherwise, for some socket types like SUBs, those new connects will fail as the endpoint is recorded, despite the connection having been permanently closed. Add test cases to exercise this corner case with TCP and IPC.
180 lines
2.7 KiB
Plaintext
180 lines
2.7 KiB
Plaintext
syntax: glob # for hg-git users
|
|
/Makefile
|
|
builds/Makefile
|
|
builds/msvc/Makefile
|
|
configure
|
|
doc/Makefile
|
|
Makefile.in
|
|
configure
|
|
libtool
|
|
config
|
|
config.status
|
|
config.log
|
|
aclocal.m4
|
|
autom4te.cache
|
|
*.o
|
|
*.gcno
|
|
*.gcda
|
|
*.gcov
|
|
*.ncb
|
|
*.lo
|
|
*.loT
|
|
*.la
|
|
*.exe
|
|
*.html
|
|
*.pdf
|
|
*.ps
|
|
*~
|
|
.*~
|
|
.deps
|
|
.dirstamp
|
|
.libs
|
|
curve_keygen
|
|
test_ancillaries
|
|
test_heartbeats
|
|
test_msg_ffn
|
|
test_sockopt_hwm
|
|
test_resource
|
|
test_ipc_wildcard
|
|
test_stream_empty
|
|
test_stream_timeout
|
|
test_issue_566
|
|
test_ctx_destroy
|
|
test_term_endpoint
|
|
test_system
|
|
test_monitor
|
|
test_last_endpoint
|
|
test_pair_inproc
|
|
test_pair_ipc
|
|
test_pair_tcp
|
|
test_reqrep_inproc
|
|
test_reqrep_ipc
|
|
test_reqrep_tcp
|
|
test_shutdown_stress
|
|
test_hwm
|
|
test_timeo
|
|
test_reqrep_device
|
|
test_reqrep_drop
|
|
test_sub_forward
|
|
test_invalid_rep
|
|
test_msg_flags
|
|
test_ts_context
|
|
test_connect_resolve
|
|
test_immediate
|
|
test_term_endpoint
|
|
test_router_mandatory
|
|
test_disconnect_inproc
|
|
test_unbind_inproc
|
|
test_unbind_wildcard
|
|
test_raw_sock
|
|
test_disconnect_inproc
|
|
test_ctx_options
|
|
test_iov
|
|
test_security
|
|
test_security_curve
|
|
test_probe_router
|
|
test_stream
|
|
test_spec_dealer
|
|
test_spec_pushpull
|
|
test_spec_rep
|
|
test_spec_req
|
|
test_spec_router
|
|
test_req_correlate
|
|
test_req_relaxed
|
|
test_fork
|
|
test_conflate
|
|
test_inproc_connect
|
|
test_linger
|
|
test_security_null
|
|
test_security_plain
|
|
test_proxy
|
|
test_proxy_single_socket
|
|
test_proxy_terminate
|
|
test_abstract_ipc
|
|
test_filter_ipc
|
|
test_connect_delay_tipc
|
|
test_pair_tipc
|
|
test_reqrep_device_tipc
|
|
test_reqrep_tipc
|
|
test_router_handover
|
|
test_router_mandatory_tipc
|
|
test_shutdown_stress_tipc
|
|
test_sub_forward_tipc
|
|
test_term_endpoint_tipc
|
|
test_many_sockets
|
|
test_diffserv
|
|
test_connect_rid
|
|
test_srcfd
|
|
test_stream_disconnect
|
|
test_proxy_chain
|
|
test_bind_src_address
|
|
test_metadata
|
|
test_id2fd
|
|
test_capabilities
|
|
test_hwm_pubsub
|
|
test_router_mandatory_hwm
|
|
test_xpub_nodrop
|
|
test_xpub_manual
|
|
test_xpub_welcome_msg
|
|
test_atomics
|
|
test_client_drop_more
|
|
test_client_server
|
|
test_server_drop_more
|
|
test_thread_safe
|
|
test_thread_safe_polling
|
|
test_getsockopt_memset
|
|
test_setsockopt
|
|
test_stream_exceeds_buffer
|
|
test_poller
|
|
test_timers
|
|
test_radio_dish
|
|
test_udp
|
|
test_scatter_gather
|
|
test_socketopt_hwm
|
|
test_use_fd_ipc
|
|
test_use_fd_tcp
|
|
test_pub_invert_matching
|
|
test_dgram
|
|
test_base85
|
|
test_bind_after_connect_tcp
|
|
test_sodium
|
|
test_zmq_poll_fd
|
|
test_reconnect_ivl
|
|
tests/test*.log
|
|
tests/test*.trs
|
|
src/platform.hpp*
|
|
src/stamp-h1
|
|
local_lat
|
|
local_thr
|
|
remote_lat
|
|
remote_thr
|
|
inproc_lat
|
|
inproc_thr
|
|
!local_lat/
|
|
!local_thr/
|
|
!remote_lat/
|
|
!remote_thr/
|
|
!inproc_lat/
|
|
!inproc_thr/
|
|
doc/*.1
|
|
doc/*.3
|
|
doc/*.7
|
|
doc/*.html
|
|
doc/*.xml
|
|
doxygen/
|
|
src/libzmq.pc
|
|
bin/
|
|
lib/
|
|
obj/
|
|
builds/android/prefix/
|
|
packaging/nuget/*.nupkg
|
|
foreign/openpgm/*
|
|
!foreign/openpgm/*.tar.bz2
|
|
!foreign/openpgm/*.tar.gz
|
|
!foreign/openpgm/Makefile.am
|
|
zeromq-*.tar.gz
|
|
zeromq-*.zip
|
|
core
|
|
build
|
|
test-suite.log
|