- 29 Apr, 2020 2 commits
-
-
Constantin Rack authored
Problem: -1 used for invalid socket
-
Gudmundur Adalsteinsson authored
Solution: use retired_fd instead
-
- 28 Apr, 2020 4 commits
-
-
Luca Boccassi authored
Problem: testutil build broken with gcc 4.4 on CentOS 6
-
Luca Boccassi authored
Problem: Multiple fd_t definitions
-
Luca Boccassi authored
Problem: Poller event fd unspecified
-
Gudmundur Adalsteinsson authored
Solution: Unify definition
-
- 27 Apr, 2020 7 commits
-
-
Luca Boccassi authored
Solution: do not alias sockaddr_un, but take a copy tests/testutil.cpp: In function 'fd_t bind_socket_resolve_port(const char*, const char*, char*, int, int)': tests/testutil.cpp:468: error: dereferencing pointer 'un_addr' does break strict-aliasing rules
-
Luca Boccassi authored
Solution: remove it and rework the ifdefs to be safe against uninitialised use
-
Luca Boccassi authored
Problem: no fuzz testing
-
Gudmundur Adalsteinsson authored
Solution: Specify an invalid file descriptor for socket events
-
Luca Boccassi authored
Solution: add tests for zmq_bind, zmq_connect and zmq_z85_decode
-
Luca Boccassi authored
Solution: add simple, initial tests for client and server
-
Luca Boccassi authored
Solution: port the 2 new tests from oss-fuzz, and wire them up to be ran manually with a static input in normal builds. Add a specific configure option to use the external fuzzing engine from oss-fuzz.
-
- 26 Apr, 2020 4 commits
-
-
Luca Boccassi authored
Solution: define buffers in common header
-
Luca Boccassi authored
Solution: refactor in testutil.lib, so that they can be used for fuzzers too
-
Luca Boccassi authored
Solution: add a new TEST_ASSERT_SUCCESS_RAW_ZERO_ERRNO macro so that it can check explicitly for non-zero values. This will be used for getaddrinfo().
-
Luca Boccassi authored
Solution: create socket in the same thread where it is used
-
- 22 Apr, 2020 2 commits
-
-
Luca Boccassi authored
RELICENSE: Grant from laplaceyang.
-
laplaceyang authored
-
- 20 Apr, 2020 5 commits
-
-
Luca Boccassi authored
problem: appveyor is very slow
-
Doron Somech authored
Solution: move to github actions
-
Luca Boccassi authored
Problem: out-of-bounds array access in socket_poller::check_events.
-
Luca Boccassi authored
Problem: poller item lookup can be simplified
-
Eelis van der Weegen authored
-
- 19 Apr, 2020 1 commit
-
-
Gudmundur Adalsteinsson authored
Solution: Extract generic find function
-
- 18 Apr, 2020 10 commits
-
-
Luca Boccassi authored
problem: checking the wrong socket when sending hello msg
-
Luca Boccassi authored
Problem: Spinning on atomics can cause hangs
-
Doron Somech authored
-
Doron Somech authored
Fix coverage job and appveyor job
-
Gudmundur Adalsteinsson authored
Solution: Add a sleep in the loop. Some versions of valgrind may hang when spinning on atomic variables.
-
Luca Boccassi authored
Solution: bump OS to Xenial for newer python libraries
-
Luca Boccassi authored
Solution: don't run it
-
Luca Boccassi authored
problem: router doesn't know when peer disconnected
-
Luca Boccassi authored
typo fix root README
-
Galymzhàn Sh authored
-
- 17 Apr, 2020 5 commits
-
-
Luca Boccassi authored
Problem: No support to query poller size
-
Gudmundur Adalsteinsson authored
Solution: Add zmq_poller_size that queries the number of objects registered, allowing safer usages of poller to avoid livelock situations.
-
Doron Somech authored
ZMQ_ROUTER_NOTIFY doesn't have a context and doesn't play nice with protocols. with ZMQ_DISCONNECT_MSG we can set it to a protocol message, like DISCONNECT in majordomo. Router will send it when a peer is disconnected. Another advantage of ZMQ_DISCONNECT_MSG is that it also works on inproc. Together with ZMQ_HEARTBEAT it allows to build very reliable protocols, and much simpler as well.
-
Luca Boccassi authored
problem: ZMQ_HEARTBEAT is not useful without sending an hello message
-
Doron Somech authored
When using ZMQ_HEARTBEAT one still needs to implement application-level heartbeat in order to know when to send a hello message. For example, with the majordomo protocol, the worker needs to send a READY message when connecting to a broker. If the connection to the broker drops, and the heartbeat recognizes it the worker won't know about it and won't send the READY msg. To solve that, the majordomo worker still has to implement heartbeat. With this new option, whenever the connection drops and reconnects the hello message will be sent, greatly simplify the majordomo protocol, as now READY and HEARTBEAT can be handled by zeromq.
-