- 06 Mar, 2018 1 commit
-
-
Simon Giesecke authored
Solution: extracted common code into do_getsockopt/do_setsockopt functions
-
- 02 Feb, 2018 1 commit
-
-
sigiesec authored
Solution: applied clang-format
-
- 23 Oct, 2017 1 commit
-
-
Simon Giesecke authored
Solution: create referencing blob_t
-
- 21 Oct, 2017 1 commit
-
-
Simon Giesecke authored
* Problem: excessive memory allocations around blob_t Solution: redefine blob_t as a custom type, and use reference/move semantics where possible
-
- 19 Sep, 2017 2 commits
- 07 Sep, 2017 2 commits
-
-
Doron Somech authored
-
sigiesec authored
Solution: renamed routing_id fields in pipe_t, renamed ZMQ_CONNECT_RID to ZMQ_CONNECT_ROUTING_ID
-
- 06 Sep, 2017 1 commit
-
-
sigiesec authored
Solution: replace by "routing id"
-
- 01 Sep, 2017 1 commit
-
-
sigiesec authored
Solution: add initial implementation
-
- 14 Jul, 2017 1 commit
-
-
Marc Sune authored
Before this commit, xhas_out() was returning true regardless. This was correct before the ZMQ_ROUTER_MANDATORY flag as introduced. However, ZMQ_POLLOUT. With this commit, _if_ ZMQ_ROUTER_MANDATORY is set, xhas_out() will return false if ALL peer's outgoing pipes are full. There is an outstanding high-level design question: If ZMQ_ROUTER_MANDATORY is set, and zmq_poll() waits for ZMQ_POLLOUT events, zmq_poll() will immediately wake up if only 1 pipe has room to send, regardless of the peer, creating a busy loop of zmq_poll() wake-up, zmq_send() (EAGAIN). There is no way for the application to selectively wait for ZMQ_POLLOUT for specific peer(s), which seems somehow necessary in ZMQ_ROUTER_MANDATORY. This discussion will be addressed in a separate issue. Signed-off-by:
Marc Sune <marc@voltanet.io> Signed-off-by:
Fredi Raspall <fredi@voltanet.io>
-
- 17 May, 2017 1 commit
-
-
Luca Boccassi authored
Solution: roll back the pipe if writing messages other than the first fails in router::xsend. Roll it back also when the pipe is terminating. Also add test case that reproduces the memory leak when ran with valgrind. Fixes #2567
-
- 16 May, 2017 1 commit
-
-
BJovke authored
-
- 10 May, 2017 1 commit
-
-
Luca Boccassi authored
Solution: roll back the pipe if writing messages other than the first fails in router::xsend. Also add test case that reproduces the memory leak when ran with valgrind. Fixes #2567
-
- 24 Feb, 2017 2 commits
-
-
Luca Boccassi authored
Solution: invert check_write and check_hwm calls in router xsend function so that check_write can mark the pipe as inactive if necessary.
-
Reza Ebrahimi authored
indention Revert "indention" This reverts commit a6e7e192ac2d089ac9f7dc0d31d4b1fd10de982e. indention indention Fix Failure in tests Check both pipe full and pipe close
-
- 25 Apr, 2016 1 commit
-
-
hitstergtd authored
Solution: fix them
-
- 21 Feb, 2016 1 commit
-
-
Osiris authored
Solution: The Coverity Static Code Analyzer was used on libzmq code and found many issues with uninitialized member variables, some redefinition of variables hidding previous instances of same variable name and a couple of functions where return values were not checked, even though all other occurrences were checked (e.g. init_size() return).
-
- 18 Feb, 2016 1 commit
-
-
Osiris authored
Solution: Phase I - make precompiled.hpp be first file included in every source file
-
- 07 Feb, 2016 1 commit
-
-
Brian Silverman authored
Otherwise, it's undefined behavior. ubsan catches alignment issues in the libzmq test suite without this.
-
- 06 Feb, 2016 1 commit
-
-
Pieter Hintjens authored
There's no value in this as the same pattern is repeated in several places and it's fair to expect people to understand it. Solution: revert to the old, one-liner style.
-
- 05 Feb, 2016 1 commit
-
-
Brian Silverman authored
It's undefined behavior, and ubsan flags it.
-
- 28 Jan, 2016 1 commit
-
-
Constantin Rack authored
Solution: update to 2016
-
- 20 Nov, 2015 1 commit
-
-
somdoron authored
-
- 11 Sep, 2015 2 commits
-
-
Pieter Hintjens authored
-
Pieter Hintjens authored
-
- 06 Sep, 2015 1 commit
-
-
Constantin Rack authored
-
- 21 Aug, 2015 2 commits
-
-
Joe Eli McIlvain authored
Solution: Move the macros to a private header.
-
reza.ebrahimi authored
-
- 19 Aug, 2015 1 commit
-
-
Kapp Arnaud authored
The routing id (identity) frame return when reading from a router doesn't have the same metadata as the "real" message that follows. For example, The ZAP "User-Id" property is missing. This patch attach the "data message"'s metadata to the "identity message" when it is read from the router.
-
- 14 Aug, 2015 1 commit
-
-
reza.ebrahimi authored
-
- 02 Jun, 2015 1 commit
-
-
Pieter Hintjens authored
Of course people still "can" distributed the sources under the LGPLv3. However we provide COPYING.LESSER with additional grants. Solution: specify these grants in the header of each source file.
-
- 23 Jan, 2015 1 commit
-
-
Pieter Hintjens authored
Symptom is that ZMQ_STREAM sockets in 4.1.0 and 4.1.1 generate zero sized messages on each new connection, unlike 4.0.x which did not do this. Person who made this commit also changed test cases so that contract breakage did not show. Same person was later banned for persistently poor form in CZMQ contributions. Solution: enable connect notifications on ZMQ_STREAM sockets using a new ZMQ_STREAM_NOTIFY setting. By default, socket does not deliver notifications, and behaves as in 4.0.x. Fixes #1316
-
- 22 Jan, 2015 1 commit
-
-
Pieter Hintjens authored
Solution: update for 2015 Fixes #1320
-
- 20 Jan, 2015 1 commit
-
-
Topher Brown authored
pipe_t.write only takes control of the underlying message memory when it succeeds. When it returns failure, we must close the message ourselves to clean up that memory. This patch is sponsored by FarSounder, Inc (farsounder.com)
-
- 09 Jan, 2015 2 commits
-
-
Thomas Rodgers authored
Revert "linking fd to pipe identity via socket option" This reverts commit fe3e8c5c. Conflicts: include/zmq.h src/pipe.hpp src/session_base.cpp
-
Thomas Rodgers authored
This reverts commit 45c68154.
-
- 08 Jan, 2015 1 commit
-
-
Thomas Rodgers authored
-
- 30 Apr, 2014 1 commit
-
-
Stoian Ivanov authored
-
- 21 Jan, 2014 1 commit
-
-
Tim M authored
Added assert on duplicate id in ROUTER and STREAM sockets. Updated man to reflect this change. Modified test case to match.
-