- 05 Dec, 2016 1 commit
-
-
Justin.Hung authored
1. stl container is not thread safety 2. rm_fd() and loop() end to clear the retired event source will in multi-thread operation 3. may be crashed in reaper thread to delete the items in the std::vector as the source is nullptr
-
- 04 Dec, 2016 1 commit
-
-
Constantin Rack authored
Problem: PR #2236 breaks the build
-
- 03 Dec, 2016 2 commits
-
-
Luca Boccassi authored
Solution: Revert "avoid crashing in the multi-thread operation for std::vector" This reverts commit e1368bda.
-
Constantin Rack authored
avoid crashing in the multi-thread operation for std::vector
-
- 02 Dec, 2016 2 commits
-
-
Justin.Hung authored
1. stl container is not thread safety 2. rm_fd() and loop() end to clear the retired event source will in multi-thread operation 3. may be crashed in reaper thread to delete the items in the std::vector as the source is nullptr
-
Constantin Rack authored
Problem: CMake build uses library version as the ABI version
-
- 01 Dec, 2016 2 commits
-
-
Luca Boccassi authored
Solution: set SOVERSION in CMakeLists to match the SONAME generated by libtool so that there is no mismatch between the output of the *NIX build systems. Before: $ ls -l total 2696 lrwxrwxrwx 1 luca luca 15 Dec 1 22:36 libzmq.so -> libzmq.so.4.2.0 lrwxrwxrwx 1 luca luca 15 Dec 1 22:36 libzmq.so.4.2.0 -> libzmq.so.4.2.1 -rwxr-xr-x 1 luca luca 906168 Dec 1 22:36 libzmq.so.4.2.1 $ readelf -d libzmq.so.4.2.1 | grep SONAME 0x000000000000000e (SONAME) Library soname: [libzmq.so.4.2.0] After: $ ls -l total 2700 lrwxrwxrwx 1 luca luca 15 Dec 1 22:31 libzmq.so -> libzmq.so.5.1.0 -rwxr-xr-x 1 luca luca 906168 Dec 1 22:31 libzmq.so.4.2.1 lrwxrwxrwx 1 luca luca 15 Dec 1 22:31 libzmq.so.5.1.0 -> libzmq.so.4.2.1 $ readelf -d libzmq.so.4.2.1 | grep SONAME 0x000000000000000e (SONAME) Library soname: [libzmq.so.5.1.0]
-
Laughing authored
* bug fix: AIX pollset error buf fix: AIX only, pollset 'rm_fd' set fd_table to null first then set pe->fd to retired_fd * remove extra spaces remove extra spaces
-
- 30 Nov, 2016 2 commits
-
-
Constantin Rack authored
Problem: Windows does not support IPV6_TCLASS
-
Luca Boccassi authored
Solution: don't use it on Windows. There is a Windows-specific API for ToS, even IPv4 does not work and it's just a silent no-op on that platform.
-
- 24 Nov, 2016 3 commits
-
-
Constantin Rack authored
Problem: select broken
-
Luca Boccassi authored
Solution: initialise class variables in the same order they are declared
-
Luca Boccassi authored
Solution: fix acinclude.m4 snippet that checks if select is available to stop it erroring out.
-
- 21 Nov, 2016 4 commits
-
-
Luca Boccassi authored
Add a single sentence explaining what a context is
-
Richard Janis Goldschmidt authored
-
Luca Boccassi authored
only compare pollitem.fd if pollitem.socket is NULL
-
Min RK authored
item.fd should be ignored if item.socket is defined. Failing to check .socket could cause false-matches, raising EINVAL in zmq_poller_modify_fd.
-
- 20 Nov, 2016 4 commits
-
-
Constantin Rack authored
Problem: size of zmq_msg_t is not known to FFI wrappers
-
Luca Boccassi authored
Solution: mention it in zmq_ctx_get manpage
-
Luca Boccassi authored
Solution: mention it as it's a new public API (still draft until release)
-
Luca Boccassi authored
Solution: add a ZMQ_MSG_T_SIZE context read-only option so that wrappers can call zmq_ctx_get (ctx, ZMQ_MSG_T_SIZE) to get the size at runtime.
-
- 16 Nov, 2016 2 commits
-
-
Constantin Rack authored
Document terminating NUL behavior in API more explicitly
-
Andreas Rottmann authored
This addresses #2169.
-
- 15 Nov, 2016 6 commits
-
-
Constantin Rack authored
Problem: inconsistent indentation and tabs in code
-
Caleb Epstein authored
-
Luca Boccassi authored
Problem: multicast is spelled incorrectly in udp_address class
-
Caleb Epstein authored
Solution: Fix typo of 'mutlicast' -> 'multicast'
-
Constantin Rack authored
Fix htons copy pasta
-
Caleb Epstein authored
-
- 14 Nov, 2016 4 commits
-
-
Constantin Rack authored
Problem: IPV6_TCLASS setsockopt fails on IPv4 socket
-
Luca Boccassi authored
Solution: if setsockopt errors out and errno is set to ENOPROTOOPT (or EINVAL on OSX) ignore it and carry on.
-
Luca Boccassi authored
Make ZMQ_TOS work with IPv6 sockets
-
Saif Hasan authored
Summary: To set `Type Of Service` for IP layer packets ZMQ provides `ZMQ_TOS` socket option. However this only works for v4 sockets. Considering things are moving to IPv6 heavily (especially within enterprise networks), ZMQ should support setting `traffic class` for v6 based on `ZMQ_TOS`. There is a subtle difference between v4 and v6 in terms of the positioning of field but TOS has same meaning in both v4 and v6. Linux provides following APIs for v4/v6 to set TOS field value. ``` // For v4 setsockopt(fd, IPPROTO_IP, IP_TOS, tos, sizeof(tos)); // For v6 setsockopt(fd, IPPROTO_IPV6, IPV6_TCLASS, tos, sizeof(tos)); ``` Test Plan: Make sure Cmake works fine and all tests passes. Imported this change to `OpenR` project and tested on our local testbed. Captured some packets exchanged between PUB/SUB and ROUTER/ROUTER sockets pairs. Verify that `TCLASS` value is set as per expectation. Tasks: #2208
-
- 12 Nov, 2016 2 commits
-
-
Constantin Rack authored
Problem: 4.2.0 is out, time to bump version for development
-
Constantin Rack authored
Problem: linker fails looking for dladdr
-
- 10 Nov, 2016 1 commit
-
-
Luca Boccassi authored
Solution: search and add it via AC_CHECK_LIB when building with libunwind, as the backtrace function uses dladdr. This problem only appears on some distributions and with some compiler/toolchain versions.
-
- 08 Nov, 2016 1 commit
-
-
Luca Boccassi authored
Solution: update NEWS, include/zmq.h and packaging
-
- 07 Nov, 2016 2 commits
-
-
Constantin Rack authored
Problem: NEWS says ZMQ_BLOCKY is a sock opt, but it's a ctx opt
-
Luca Boccassi authored
Solution: fix it
-
- 06 Nov, 2016 1 commit
-
-
Constantin Rack authored
Problem: linking fails on glibc 2.24 with dladdr missing
-