- 20 Jan, 2015 4 commits
-
-
Constantin Rack authored
documentation clarification on pipe::write failure
-
Topher Brown authored
When pipe::write succeeds, it takes control of the message's data buffer. When it fails, it has not taken control. The caller should clean up the message appropriately (msg::close).
-
Joe Eli McIlvain authored
Close messages that failed to send
-
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)
-
- 18 Jan, 2015 2 commits
-
-
KAPP Arnaud authored
fix typo in zmq_msg_gets documentation
-
Thomas Rodgers authored
-
- 16 Jan, 2015 9 commits
-
-
Constantin Rack authored
Fix typo in zmq_msg_gets documentation
-
Thomas Rodgers authored
-
KAPP Arnaud authored
Add 'Peer-Address' property to connection metadata
-
Thomas Rodgers authored
-
Thomas Rodgers authored
-
Thomas Rodgers authored
std::map::insert() has always had range based insertion, removed explicit loops.
-
Thomas Rodgers authored
Allows non-C/C++ based clients easy access to the peer's IP address via zmq_msg_gets(&msg, "Peer-Address") instead of zmq_msg_get(&msg, ZMQ_SRCFD) followed by calls to getpeername and getnameinfo
-
Constantin Rack authored
Try to clarify the intent of zmq_msg_gets() in documentation
-
Thomas Rodgers authored
-
- 13 Jan, 2015 4 commits
-
-
Pieter Hintjens authored
Make alignment compiler directive
-
Thomas Rodgers authored
-
Pieter Hintjens authored
Fix. Use C++03 compatible way to align struct. (Build on MSVC)
-
Alexey Melnichuk authored
#1299 break compiling with MSVC 2010.
-
- 12 Jan, 2015 2 commits
-
-
Pieter Hintjens authored
Align inter-thread shared structures on cache-line granularity
-
Thomas Rodgers authored
Specifically ypipe_t specializations for msg_t and command_t. Currently only supports platforms where posix_memalign is available.
-
- 10 Jan, 2015 2 commits
-
-
Pieter Hintjens authored
Increase size of zmq_msg_t to 64 bytes
-
Thomas Rodgers authored
Increasing it would have at least two benefits - * More messages would be 'VSM' messages, so it would reduce allocation overhead a bit. * Remove any chance of false sharing of things that are, by design, pushed by value onto a ypipe_t<msg_t> which is shared between two threads. The only downside I see is slightly increased memory consumption on memory constrained applications. - Full discussion of this rationale is part of issue #1295
-
- 09 Jan, 2015 4 commits
-
-
Constantin Rack authored
Remove ZMQ_IDENTITY_FD socket option
-
Thomas Rodgers authored
-
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 2 commits
-
-
Pieter Hintjens authored
resolve #1292 ZMQ_IDENTITY_FD does not validate option_len
-
Thomas Rodgers authored
-
- 05 Jan, 2015 3 commits
-
-
Pieter Hintjens authored
Remove int typedefs and use stdint.h for windows.
-
Richard Newton authored
-
Pieter Hintjens authored
Implement a definitive cygwin target for libzmq.
-
- 31 Dec, 2014 2 commits
-
-
Joe Eli McIlvain authored
Problem: incomplete definition of integer types
-
Pieter Hintjens authored
Firstly, only a few types are defined, leaving it hard for higher layers to complete the set. Secondly, the code incorrectly tries to use ifndef to avoid re-defining typedefs, which does not work in C. Solution: define all types, unconditionally for all MSVC compilers. Additionally, define ZMQ_DEFINED_STDINT that tells higher layers that we already defined these integer types.
-
- 29 Dec, 2014 1 commit
-
-
DaiyuHurst authored
-
- 23 Dec, 2014 5 commits
-
-
Joe Eli McIlvain authored
Fixed atomic API, which used 'bool'
-
Pieter Hintjens authored
Solution: increase settle time for bind/unbind tests
-
Pieter Hintjens authored
zmq_atomic_counter_dec returned a 'bool' value, yet this isn't defined by standard, so causes compile errors in upstream code. Solution: return an int that can be safely converted to bool if needed by bindings.
-
Constantin Rack authored
Problem: need atomic reference counting in several projects
-
Pieter Hintjens authored
Solution: as libzmq already provides this across all platforms, expose an atomic counter API. I've not wrapped atomic pointers, though someone who needs this may want to do so.
-