- 07 Mar, 2018 4 commits
-
-
Pontus.Skoeldstroem authored
* Tests for different TIPC address types and code cleanup * Adds tests for binding/connecting with different TIPC address types using Unity * Adds error checking for address type misuse
-
Luca Boccassi authored
Revert "Problem: mis-detection of threadsafe_static_init causes test failures"
-
Simon Giesecke authored
-
Constantin Rack authored
Problem: mis-detection of threadsafe_static_init causes test failures
-
- 06 Mar, 2018 6 commits
-
-
Luca Boccassi authored
Solution: do not rely __cplusplus >= 201103L to detect whether the compiler supports thread safe static initialisation, but check only the proper feature preprocessor macro. GCC introduced it in version 8, and Clang in version 6.
-
Constantin Rack authored
Problem: build broken with gcc-4.7
-
Luca Boccassi authored
Solution: initialise variable in options.cpp to dummy value to fix compiler complaint: src/options.cpp: In function 'int zmq::do_setsockopt_int_as_bool_strict(const void*, size_t, bool*)': src/options.cpp:121:5: error: 'value' may be used uninitialized in this function [-Werror=maybe-uninitialized] src/options.cpp: In function 'int zmq::do_setsockopt_int_as_bool_relaxed(const void*, size_t, bool*)': src/options.cpp:135:31: error: 'value' may be used uninitialized in this function [-Werror=maybe-uninitialized]
-
Luca Boccassi authored
Problem: code duplication in getsockopt/setsockopt
-
Simon Giesecke authored
Solution: extracted common code into do_getsockopt/do_setsockopt functions
-
Luca Boccassi authored
Problem: static initialization order fiasco
-
- 05 Mar, 2018 7 commits
-
-
Constantin Rack authored
Problem: CI check for format fails
-
Luca Boccassi authored
Solution: add paragraph explaining how to run it to make sure code is correctly formatted.
-
Luca Boccassi authored
Solution: run make clang-format-diff and commit the changes.
-
Luca Boccassi authored
Problem: enormous memory increase due to zero copy decoding
-
Stefan Kaes authored
The zero copy decoding strategy implemented for 4.2.0 can lead to a large increase of main memory usage in some cases (I have seen one program go up to 40G from 10G after upgrading from 4.1.4). This commit adds a new option to contexts, called ZMQ_ZERO_COPY_RECV, which allows one to switch to the old decoding strategy.
-
Ryan Hileman authored
* fix pthread condvar timeouts This fixes a race condition / hang for threadsafe sockets. Context: https://github.com/zeromq/czmq/issues/1873#issuecomment-370279244
-
Simon Giesecke authored
Solution: use local statics when available in a thread-safe implementation
-
- 02 Mar, 2018 20 commits
-
-
Luca Boccassi authored
Problem: unittest_mtrie fails on 32bit *nix
-
Luca Boccassi authored
Solution: correctly dereference pointer in test.
-
Luca Boccassi authored
Problem: no unit tests for mtrie
-
Simon Giesecke authored
Solution: Return an enum from rm instead of a bool, and adapt existing uses
-
Simon Giesecke authored
Solution: generalized terms to entries/values
-
Simon Giesecke authored
Solution: added test case
-
Luca Boccassi authored
Solultion: clarify that notifications for unique subs/unsubs are always passed, and these option only affect the behaviour for duplicated ones.
-
Luca Boccassi authored
Solution: add test_xpub_verbose to cover those APIs
-
Simon Giesecke authored
Solution: introduce a type template argument
-
Simon Giesecke authored
Solution: added further test cases
-
Simon Giesecke authored
Solution: added some TODO comments, improved existing documentation
-
Simon Giesecke authored
Solution: added test case, reduced code duplication in tests
-
Simon Giesecke authored
Solution: added unit test and assertions
-
Simon Giesecke authored
Solution: add test case
-
Simon Giesecke authored
Solution: added some test cases for rm
-
Simon Giesecke authored
Solution: added test case
-
Simon Giesecke authored
Solution: add CODE_COVERAGE_*FLAGS to unit tests build Fixes #2949
-
Simon Giesecke authored
Solution: add some more test cases
-
Simon Giesecke authored
Solution: made mtrie generic (to remove complex dependency on pipe_t), and added some unit tests
-
Simon Giesecke authored
Solution: add const, introduce typedef
-
- 27 Feb, 2018 2 commits
-
-
Luca Boccassi authored
Fix gcc 8 build warning/error with -O3.
-
Romain Geissler authored
-
- 19 Feb, 2018 1 commit
-
-
Luca Boccassi authored
Problem: No support for addressing using TIPC Port Identity
-