somdoron
5ebfd1728f
make udp support for radio-dish
2016-01-29 21:17:11 +02:00
somdoron
1960b4e8a9
Filtering messages on dish side
2016-01-29 10:53:47 +02:00
somdoron
c7d52ec260
radio-dish join/leave are ZMTP commands
2016-01-29 10:53:47 +02:00
somdoron
5054f2eb61
radio-dish is sending the group as first frame
2016-01-29 10:53:47 +02:00
somdoron
68675e23d9
adds group to zmq_msg
2016-01-29 10:53:42 +02:00
somdoron
b2718149e0
msg external storage is using content_t
2016-01-29 10:46:42 +02:00
somdoron
15ad6f8051
save some bytes in msg class
2016-01-28 18:53:35 +02:00
somdoron
dc945998a4
missing virtual modifier or session_base
2016-01-28 18:31:05 +02:00
Constantin Rack
a539b0c6e8
Problem: copyright year is still 2015
...
Solution: update to 2016
2016-01-28 15:07:31 +01:00
somdoron
b8425a25cf
radio-dish pattern
2016-01-27 18:22:48 +02:00
Constantin Rack
511d701de3
Merge pull request #1725 from GreatFruitOmsk/master
2016-01-22 16:00:33 +01:00
Ilya Kulakov
77f5344ff7
Fix VMCI compilation errors on Windows.
2016-01-22 20:34:23 +06:00
Min RK
f0dce000b2
stop previous monitor socket before starting new one
...
avoids leaking sockets due to multiple monitor calls on one socket
Alternative: raise error (not sure what errno; EADDRINUSE?) if collision detected; force manual stop.
2016-01-21 16:21:07 +01:00
Ilya Kulakov
6c9974770b
Family is not set when resolving NIC on android.
...
Make it ready to enable ipv6 for AIX or HP/UX
2016-01-21 19:53:35 +06:00
Ilya Kulakov
e7850410f8
Fix trailing spaces.
2016-01-21 13:44:15 +06:00
Ilya Kulakov
e5894d5197
Fix missing headers which makes compilation fail on Android.
2016-01-21 13:44:01 +06:00
Constantin Rack
924bce6478
Problem: build fails due to undefined INT_MAX
...
Solution: include climits
Fixes #1720
2016-01-20 19:16:54 +01:00
Min RK
5fe75f0e43
truncate rc to INT_MAX
...
to avoid overflow for large messages
send/recv still succeed for large messages,
but `zmq_msg_size` must be used to get the true size.
2016-01-20 13:43:51 +01:00
Constantin Rack
90f9f5ff91
Merge pull request #1718 from gcsideal/master
...
Last bits of Hurd support
2016-01-20 11:28:18 +01:00
Laszlo Boszormenyi (GCS)
be387d5e56
Last bits of Hurd support
2016-01-20 07:18:22 +01:00
Constantin Rack
e6edc4729e
Problem: typo
...
Solution: fix it
2016-01-19 21:23:42 +01:00
somdoron
669c5697c2
fixing a bug: client over inproc receives msg with routing id set
2016-01-19 20:18:04 +02:00
somdoron
4bfe2ec686
fix bug in condition variable using invalid timeout
2016-01-18 15:32:49 +02:00
Laszlo Boszormenyi (GCS)
be5ab6d5c9
GNU/Hurd support
2016-01-16 02:26:20 +01:00
somdoron
6bbca7cf4a
fix case when zmq_poller access a dead socket
2016-01-13 15:12:47 +02:00
Frederic Tregon
89417ddb9f
Fixed issue #1690 (ZMQ_REQ_RELAXED)
...
When using ZMQ_REQ_RELAXED and a 'send' is executed after another 'send' the
previous code would terminate the 'reply_pipe' if any.
This is incorrect as terminating the reply pipe also terminates the send pipe
as they are the same (a pipe associated with a socket is bidirectional).
Doing a terminate on the pipe sets an internal flag called out_active to false
and the pipe can no longer send messages.
Removing the 'terminate' solves the problem. Removing this call is not an issue
as the incorrect ordering of messages that could be incurred is taken care of
by the ZMQ_REQ_CORRELATE option if needed.
2016-01-01 19:19:33 +01:00
Pieter Hintjens
2566c02a9e
Problem: CLIENT and SERVER don't check SNDMORE
...
These sockets don't handle multipart data, so if callers send it,
they drop frames, and things break silently.
Solution: if the caller tries to use ZMQ_SNDMORE, return -1 and
set errno to EINVAL.
2015-12-29 17:00:06 +01:00
Pieter Hintjens
6665bffe11
Problem: MSVC projects don't include timers.cpp/hpp
...
Solution: add these
2015-12-21 11:09:11 +01:00
Pieter Hintjens
7893a6ac26
Problem: zmq poller API is not CLASS conformant
...
Solution: change zmq_poller_close(p) to zmq_poller_destroy(&p)
2015-12-21 11:01:16 +01:00
Pieter Hintjens
f8b9ca5f42
Problem: zmq timers API is not CLASS conformant
...
If we're going to add CLASS-like APIs we should use the proper
syntax; specifically 'destroy' instead of 'close', which is a
hangover from the 'ZeroMQ is like sockets' model we're slowly
moving away from.
Solution: change zmq_timers_close(p) to zmq_timers_destroy(&p)
2015-12-21 10:56:37 +01:00
Pieter Hintjens
97092d994d
Problem: Windows build gives warning on v2_decoder.cpp:130
...
Solution: add explicit cast
2015-12-20 19:13:49 +01:00
Constantin Rack
c19470ece1
Merge pull request #1675 from somdoron/Timers
...
Problem: no way to schedule timers with zmq_poll or zmq_poller
2015-12-18 11:34:39 +01:00
somdoron
aadaf99011
add timers API to libzmq
2015-12-18 12:23:22 +02:00
Ilya Kulakov
b76ccb8b1a
Add missing header for the if_nametoindex on Windows.
2015-12-18 15:54:18 +06:00
Constantin Rack
b67cdcfd0b
Merge pull request #1670 from hintjens/master
...
CI was broken by #54799c (reverted)
2015-12-18 09:06:12 +01:00
Brian Silverman
700b91d102
Fix alignment of initial chunk in yqueue
...
Clang's UndefinedBehaviorSanitizer catches this in the tests.
2015-12-17 14:28:15 -05:00
Pieter Hintjens
31c35498af
Revert "fixes #1565 : Allow session to flush commands on an engine error"
...
This reverts commit 54799c8c6fa605f7272e966912f6e93161f9d11d.
This change broke the tests/test_shutdown_stress testcase.
2015-12-17 16:20:48 +01:00
Ilya Kulakov
3caa637e1b
Add special interface to represent local VMCI context.
2015-12-14 19:20:27 +06:00
Sathish Yenna
7cfa93352e
Add missing support for IPv6 link local addresses (which include % followed by the interface name)
2015-12-09 16:26:34 -06:00
Ilya Kulakov
6ae70a9428
Remove unnecessray comment and unnecessary include.
2015-12-09 15:45:15 +06:00
Luca Boccassi
a556b500da
Problem: build failure, vmci include out of IFDEF
...
Solution: do not include vmci header outside of vmci IFDEF
Fixes issue #1655
2015-12-08 17:53:31 +00:00
Ilya Kulakov
68b13fbddb
Add the VMCI transport.
...
VMCI transport allows fast communication between the Host
and a virtual machine, between virtual machines on the same host,
and within a virtual machine (like IPC).
It requires VMware to be installed on the host and Guest Additions
to be installed on a guest.
2015-12-08 13:16:09 +06:00
Chris
ba3cf3c006
Only start the heartbeat timer when the underlying mechanism is ready to stop cipher streams from trying to encrypt a heartbeat before the handshake has completed. Addresses issue #1601 .
2015-11-30 20:18:25 +00:00
Charles Stanley
54799c8c6f
fixes #1565 : Allow session to flush commands on an engine error
2015-11-30 10:05:47 -05:00
Fedor Sheremetyev
bad93c536a
Set LWM to half of HWL.
...
This reduces chances of race between writer deactivation and activation.
Reader sends activation command to writer when number or messages is
multiple of LWM. In situation with high throughput (millions of messages
per second) and correspondingly large HWM (e.g. 10M) the difference
between HWM needs to be large enough - so that activation command is
received before pipe becomes full.
2015-11-24 17:33:38 +00:00
Constantin Rack
f9b8a94c90
Problem: out_batch_size has been replaced by ZMQ_TCP_SEND_BUFFER option in cdeec4c1
...
Solution: remove `out_batch_size` from src/config.hpp
2015-11-24 09:04:07 +01:00
Jim Hague
e71471b2e8
Add new option ZMQ_MULTICAST_MAXTPDU to set PGM_MTU.
...
Fixes #1646
2015-11-23 19:35:02 +00:00
somdoron
804bce8294
Fix pipe terimation in router while reading message
2015-11-20 21:27:56 +02:00
somdoron
210572201d
Fix a bug when stream_engine try to set alreadt set metadata
2015-11-18 15:02:19 +02:00
Constantin Rack
ec41f6540f
Problem: tcp_recv/send_buffer should be byte value instead of scale factor
...
Solution: change option behaviour and adopt documentation
2015-11-13 10:47:15 +01:00