Merge pull request #4124 from bluca/news

Update NEWS and fix build on GNU/Hurd
This commit is contained in:
Luca Boccassi 2021-01-17 11:32:32 +00:00 committed by GitHub
commit 90deed866b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 37 additions and 5 deletions

View File

@ -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

28
NEWS
View File

@ -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
================================================

View File

@ -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.

View File

@ -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";

View File

@ -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

View File

@ -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