Martin Hurton
973d13d545
Code cleanup
2013-12-03 15:59:34 +01:00
Brian Knox
ff292d62d0
changing zmq_proxy_steerable to not use null terminated strings
2013-12-01 20:29:03 +00:00
Martin Hurton
cf14c54102
Fix issue #763
2013-11-30 21:25:18 +01:00
KIU Shueng Chuan
bd41087ab9
make win32 signaler support ephemeral ports
2013-11-28 18:25:28 +08:00
Richard Newton
abbe704d9e
Fix windows build for type of service.
2013-11-25 09:25:23 +00:00
Chris Laws
38bceca9ca
Add ability to set and get DSCP socket option
2013-11-25 13:31:21 +10:30
KIU Shueng Chuan
7bd0b6ada1
remove all asserts during critical section
...
the size of the critical section is reduced by only entering the critical
section right before the bind().
2013-11-12 01:12:24 +08:00
KIU Shueng Chuan
cf8ba925b4
return error to caller on bind error
2013-11-12 00:07:06 +08:00
Ian Barber
51fa803d63
Merge pull request #751 from psl-felipefarinon/master
...
Removing C++11 code.
2013-11-11 05:51:12 -08:00
psl-felipefarinon
31cf53f025
issue #583 removing C++11 code.
2013-11-11 10:20:28 -02:00
Bruno D. Rodrigues
750426037d
Fix socket creation above sistem limits for all 'other' OS not covered by eventfd, windows or vms; enhanced test to create sockets up to a bigger limit to really test hitting the OS limit
2013-11-10 10:19:19 +00:00
Martin Hurton
05d5962872
Signal that the peer performed orderly shutdown
2013-11-07 21:40:26 +01:00
Richard Newton
7a510b4b60
Fix formatting.
2013-11-07 17:50:29 +00:00
Richard Newton
90425cd5d6
Merge branch 'master' of https://github.com/zeromq/libzmq
2013-11-07 17:47:44 +00:00
Richard Newton
89ecf2de79
Merge pull request #744 from psl-felipefarinon/master
...
Fixing broken build issue #583
2013-11-07 09:47:29 -08:00
Richard Newton
568cc1adaa
Get maximum number of sockets it can handle from poller_t
2013-11-07 17:46:19 +00:00
psl-felipefarinon
485db41a43
Fixing broken build issue #583
2013-11-07 15:21:42 -02:00
Richard Newton
998c10a1b7
Merge pull request #741 from hintjens/master
...
Simplified error handling for make_fdpair on Windows
2013-11-07 08:48:48 -08:00
Pieter Hintjens
de5a787868
Merge pull request #742 from psl-felipefarinon/master
...
Fixing issue #583 . Using low resolution timer for clock::now_ms
2013-11-07 08:12:48 -08:00
psl-felipefarinon
b8a9f299fb
Fixing issue #583 . Using low resolution timer for clock::now_ms
2013-11-07 14:06:54 -02:00
Pieter Hintjens
51f8571933
Simplified fdpair reset after fork
2013-11-07 15:30:25 +01:00
Pieter Hintjens
2be70dca1a
Simplified error handling for make_fdpair on Windows
2013-11-07 15:26:56 +01:00
Pieter Hintjens
c573f6b812
Fix for issue 574
2013-11-07 14:59:53 +01:00
Richard Newton
844689ed9a
Fix race condition on shutdown
2013-11-06 15:19:04 +00:00
Erik Hugne
edbfae3141
zmq: change TIPC default lookup domain when connecting
...
By default, TIPC uses a closest first approach to find
a publication that can satisfy your connection request.
Any publication on the local node will automatically
be chosen for all requests, even if you're trying to
spread it out over multiple machines.
We fix this by widening the default lookup scope.
Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
2013-11-05 13:28:07 +01:00
Pieter Hintjens
5e6aa58a14
Fixed issue 578 - corrected type usage
2013-11-04 16:04:13 +01:00
Pieter Hintjens
d7c8021afc
Fixed issue 578
2013-11-04 15:39:20 +01:00
Pieter Hintjens
027990a112
Merge pull request #732 from Hugne/tipc
...
zmq: narrow condition to include TIPC in build/test
2013-11-01 07:14:00 -07:00
Erik Hugne
58ac87def1
zmq: narrow condition to include TIPC in build/test
...
As TIPC transport for 0MQ will only work on post 3.8
Linux kernels where nonblocking connect was added,
we add AC_RUN test to check for this functionality.
Should the test fail, tipc is excluded from build/test.
Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
2013-11-01 14:59:31 +01:00
Pieter Hintjens
299068b571
Merge pull request #731 from mbarbisan/master
...
Shorten ZMQ_ROUTER_REASSIGN_IDENTITIES to ZMQ_ROUTER_HANDOVER. Also, add...
2013-11-01 06:30:27 -07:00
Erik Hugne
632677e805
ricnewton review comment
...
Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
2013-11-01 11:17:10 +01:00
Erik Hugne
eab85b5295
zmq: add support for TIPC transport
...
A ZeroMQ application can opt for TIPC based sockets
using the TIPC port name format:
zmq_bind(sb, "tipc://{type,lower,upper}");
zmq_connect(sc, "tipc://{type,inst}");
'type' is the service ID, and 'lower/upper' can be
used for service partitioning or basic load
balancing.
ZeroMQ TIPC transport requires a kernel >= 3.8
(nonblocking connect support for TIPC).
Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
2013-11-01 10:09:22 +01:00
Mark Barbisan
5e71475d45
Shorten ZMQ_ROUTER_REASSIGN_IDENTITIES to ZMQ_ROUTER_HANDOVER. Also, added a test for the HANDOVER functionality.
2013-11-01 00:03:00 -04:00
Pieter Hintjens
bc88b88804
Merge pull request #729 from mbarbisan/master
...
Fixed LIBZMQ-556: ROUTER socket does not support reconnection from clients with multiple NICs
2013-10-31 11:01:55 -07:00
Mark Barbisan
3825f3b300
Add support to the ROUTER socket to reassign identities upon name collision.
2013-10-30 23:45:46 -04:00
NetImperia
c75ed69af3
Update tcp_connecter.cpp
...
Crash Fix: Assertion failed: Permission denied (..\..\..\src\tcp_connecter.cpp:279) on windows 8
2013-10-30 18:16:06 -07:00
Pieter Hintjens
eaba5dfe37
Renamed test_router_raw_empty to test_stream_empty
...
* The ZMQ_ROUTER_RAW API was deprecated in favor of ZMQ_STREAM
* Same issue hit router.cpp, which I've fixed
2013-10-28 21:00:42 +01:00
MinRK
96ee8bb9d9
add missing msg->init for ROUTER_RAW with empty message
2013-10-27 22:50:04 -07:00
xantares
e273d94db8
include cmake files in tarball
2013-10-23 19:06:29 +02:00
Pieter Hintjens
406e6051e4
Cleaned up the code
...
- removed unnecessary malloc
- spaces, not tabs to indent
- renamed control states to be more logical
- renamed SUSPEND to PAUSE, feels more accurate
- fixed indentation, which was off in places
2013-10-21 10:51:59 +02:00
Pieter Hintjens
08c91c0f94
Merge pull request #712 from lalebarde/master
...
add proxy control flow and test
2013-10-21 01:39:09 -07:00
Richard Newton
1b8daed9db
Use consistant integer type in raw_decoder
2013-10-18 14:20:30 +01:00
Laurent Alebarde
e33a382f8d
new zmq_proxy is zmq_proxy_steerable to respect C API
2013-10-18 15:01:05 +02:00
Laurent Alebarde
1b75d1ecb5
add proxy control flow and test
2013-10-18 11:12:48 +02:00
Martin Hurton
7ecab54ac3
Load identity message to decoder at start
2013-10-11 14:32:38 +02:00
Martin Hurton
b35c08beb4
Rename engine's methods to improve code readability
2013-10-09 20:26:38 +02:00
Volodymyr Korniichuk
433ea35b6c
Typo in type name "emTPy_slots_t"
...
https://zeromq.jira.com/browse/LIBZMQ-565
2013-10-08 00:40:30 +03:00
Pieter Hintjens
283e52357c
Merge pull request #700 from hashstat/master
...
Add documentation on Linux ipc abstract namespace support and a bug fix.
2013-10-07 11:50:36 -07:00
Brandon Carpenter
e0f4d603c2
Fix detection of abstract ipc pathname and length calculation.
...
Abstract socket pathnames must have a NULL character in the first
position, but the second character must also be checked to differentiate
an abstract name from the empty string. The address length must also
indicate the length of the pathname because the kernel uses the entire
address as the name, including NULL characters. ZMQ uses
NULL-terminated strings for the address, so the abstract address length
is the length of the string following the initial NULL byte plus 3; two
bytes for the address family and one for the initial NULL character.
2013-10-07 10:42:39 -07:00
Pieter Hintjens
1a20220817
Merge pull request #699 from ezhikus/free_and_delete
...
It is safe to "free(NULL)" and "delete NULL"
2013-10-05 00:22:26 -07:00