- 05 Jul, 2015 3 commits
-
-
Jens Auer authored
- Replaced stdlib.h with cstdlib - Made single-argument constructors explicit
-
Pieter Hintjens authored
"zero-copy" raw_decoder
-
Jens Auer authored
A memcpy is eliminated when receiving data on a ZMQ_STREAM socket. Instead of receiving into a static buffer and then copying the data into the buffer malloced in msg_t::init_size, the raw_decoder allocates the memory for together with the reference-counter and creates a msg_t object on top of that memory. This saves the memcpy operation. For small messages, data is still copied and the receive buffer is reused.
-
- 02 Jul, 2015 2 commits
-
-
Joe Eli McIlvain authored
Clean-up: Rename internal macros consistently.
-
Thomas Köppe authored
-
- 01 Jul, 2015 3 commits
-
-
Pieter Hintjens authored
Add C++11 atomic support also to atomic_counter_t.
-
Thomas Köppe authored
-
Thomas Köppe authored
-
- 30 Jun, 2015 7 commits
-
-
Pieter Hintjens authored
atomic_ptr.h: clean up the clean-up
-
Thomas Köppe authored
-
Pieter Hintjens authored
Add missing relaxed memory ordering.
-
Thomas Köppe authored
-
Pieter Hintjens authored
Add support for <atomic> in C++11
-
Thomas Köppe authored
-
KAPP Arnaud authored
ignore unbind tests
-
- 29 Jun, 2015 8 commits
-
-
Dylan Cali authored
-
Pieter Hintjens authored
update gitignore with additional tests
-
Pieter Hintjens authored
add tests for #949
-
Dylan Cali authored
-
Dylan Cali authored
-
Dylan Cali authored
-
Dylan Cali authored
-
Dylan Cali authored
-
- 26 Jun, 2015 2 commits
-
-
Pieter Hintjens authored
Fix units and default values for heartbeats options
-
Jonathan Reams authored
Set the ZMQ_HEARTBEAT_TIMEOUT to default to the value of ZMQ_HEARTBEAT_IVL if it's not explicitly set. Change the units of ZMQ_HEARTBEAT_TTL to milliseconds in the API and round down to the nearest decisecond so that all the options are using the same units. Make the maximum heartbeat TTL match the spec (6553 seconds)
-
- 24 Jun, 2015 5 commits
-
-
Pieter Hintjens authored
Add documentation for ZMTP heartbeats/fix test
-
Jonathan Reams authored
-
Jonathan Reams authored
-
Pieter Hintjens authored
Add ZMTP connection heartbeats
-
Jonathan Reams authored
This commit adds ZMTP connection heartbeats described in http://rfc.zeromq.org/spec:37/ZMTP.
-
- 23 Jun, 2015 4 commits
-
-
Constantin Rack authored
Typo fix
-
Marin Atanasov Nikolov authored
-
Richard Newton authored
Problem: zmq::socket_base_t::connect fails on tcp ipv6 address
-
Constantin Rack authored
-
- 14 Jun, 2015 4 commits
-
-
Pieter Hintjens authored
Rebase3
-
Jens Auer authored
-
Jens Auer authored
The shared reference count was not shared but copied. msg_t cannot store the refcnt itsef but has to store a pointer to an externally allocated (shared) refcnter. The changes to lmsg are reverted to use content_t again. Howver, this introduces an allocation in v2_decoder when creating the message which can be avoided. When allocating the reception buffer, space is allocated for the maximum number of reference counts (8192 / max_vsm_size = 8192/64 = 128 zmq:atomic_counter objects). This increases the buffer by 128*sizeof(atomic_counter) = 128*4 = 512 bytes only. When creating a message, the refcnt member is set to the address of one of the pre-allocated atomic_counter_t objects. To do so, a new msg_t type zcmsg is introduced because msg::copy must discriminate between the message types when releasing memory.
-
Jens Auer authored
zero-copy msg_t::init cannot be used when the message exceeds either the buffer end or the last received byte. To detect this, the buffer is now resized to the numnber of received bytes.
-
- 13 Jun, 2015 2 commits
-
-
Constantin Rack authored
Probably fix build issue on Solaris.
-
Kapp Arnaud authored
See #1220 recent comments. This change is untested yet seems safe.
-