diff --git a/Makefile.am b/Makefile.am index 3b1ae7a1..45b07504 100755 --- a/Makefile.am +++ b/Makefile.am @@ -1401,7 +1401,6 @@ if ON_GNU XFAIL_TESTS += tests/test_ipc_wildcard \ tests/test_reqrep_ipc \ tests/test_pair_ipc \ - tests/test_rebind_ipc \ tests/test_term_endpoint endif diff --git a/NEWS b/NEWS index d270eb5b..b0357137 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,31 @@ +0MQ version 4.3.4 stable, released on 20xx/xx/xx +================================================ + +* New DRAFT (see NEWS for 4.2.0) socket option: + - ZMQ_PRIORITY will set the SO_PRIORITY socket option on the underlying + sockets. Only supported on Linux. + See doc/zmq_setsockopt.txt and doc/zmq_getsockopt.txt for details. + +* Fixed #4113 - compilation errors on kFreeBSD and GNU/Hurd + +* Fixed #4086 - excessive amount of socket files left behind in Windows TMP + directory + +* Fixed #4108 - regression that breaks using IPv6 link-local addresses on Linux + +* Fixed #4078 - compilation errors on Android + +* Fixed #4074 - compilation error with ulibc and libbsd + +* Fixed #4060 - stack overflow on Windows x64 + +* Fixed #4051 - various compilation errors on Windows ARM 32bit + +* Fixed #4043 - various compilation warnings with XCode + +* Fixed #4038 - return value of zmq_ctx_get changed unintentionally + + 0MQ version 4.3.3 stable, released on 2020/09/07 ================================================ diff --git a/doc/zmq_setsockopt.txt b/doc/zmq_setsockopt.txt index 85119948..a010d3d8 100644 --- a/doc/zmq_setsockopt.txt +++ b/doc/zmq_setsockopt.txt @@ -755,8 +755,9 @@ you may also want to set `ZMQ_HANDSHAKE_IVL` -- the default handshake interval is 30000 (30 seconds), which is typically too large. The 'ZMQ_RECONNECT_STOP_AFTER_DISCONNECT' option will stop reconnection when -called zmq_disconnect(). This can be useful when the user request failed(server not -ready),the sokcet do not need to continue to reconnect after user disconnect actively. +zmq_disconnect() has been called. This can be useful when the user's request failed +(server not ready), as the socket does not need to continue to reconnect after +user disconnect actively. NOTE: in DRAFT state, not yet available in stable releases. diff --git a/tests/testutil.cpp b/tests/testutil.cpp index 5a8b3ff2..a8349a49 100644 --- a/tests/testutil.cpp +++ b/tests/testutil.cpp @@ -67,6 +67,10 @@ #endif #endif +#ifndef PATH_MAX +#define PATH_MAX 1024 +#endif + const char *SEQ_END = (const char *) 1; const char bounce_content[] = "12345678ABCDEFGH12345678abcdefgh"; diff --git a/tests/testutil_unity.cpp b/tests/testutil_unity.cpp index 1c273058..79fda926 100644 --- a/tests/testutil_unity.cpp +++ b/tests/testutil_unity.cpp @@ -298,7 +298,7 @@ void bind_loopback_tipc (void *socket_, char *my_endpoint_, size_t len_) test_bind (socket_, "tipc://<*>", my_endpoint_, len_); } -#if defined(ZMQ_HAVE_IPC) && !defined(ZMQ_HAVE_GNU) +#if defined(ZMQ_HAVE_IPC) void make_random_ipc_endpoint (char *out_endpoint_) { #ifdef ZMQ_HAVE_WINDOWS diff --git a/tests/testutil_unity.hpp b/tests/testutil_unity.hpp index 0be46db2..b00c0c89 100644 --- a/tests/testutil_unity.hpp +++ b/tests/testutil_unity.hpp @@ -272,7 +272,7 @@ void bind_loopback_ipc (void *socket_, char *my_endpoint_, size_t len_); // Binds to an ipc endpoint using the tipc wildcard address. void bind_loopback_tipc (void *socket_, char *my_endpoint_, size_t len_); -#if defined(ZMQ_HAVE_IPC) && !defined(ZMQ_HAVE_GNU) +#if defined(ZMQ_HAVE_IPC) // utility function to create a random IPC endpoint, similar to what a ipc://* // wildcard binding does, but in a way it can be reused for multiple binds // TODO also add a len parameter here