0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-29 08:39:42 +08:00

2815 Commits

Author SHA1 Message Date
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
Pieter Hintjens
dc339f4c6d Merge pull request #750 from mattconnolly/master
Update signaler make_fdpair to set file descriptors to -1 when too many ...
2013-11-10 04:10:12 -08:00
Matt Connolly
f06645c5f1 Update signaler make_fdpair to set file descriptors to -1 when too many files are open using socketpair. 2013-11-10 21:16:12 +10:00
Pieter Hintjens
1719b63f1d Merge pull request #749 from davipt/fix-001-test_many_sockets_and_mac_open
Fix socket creation above sistem limits for all 'other' OS not covered b...
2013-11-10 02:25:04 -08: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
Ian Barber
2b989ded67 Merge pull request #748 from hintjens/master
Added ignore test case
2013-11-09 04:11:50 -08:00
Pieter Hintjens
7971ef3857 Added ignore test case 2013-11-09 12:27:21 +01:00
Pieter Hintjens
8e21bc0b46 Merge pull request #747 from hurtonm/master
Signal that the peer performed orderly shutdown
2013-11-07 12:45:54 -08:00
Martin Hurton
05d5962872 Signal that the peer performed orderly shutdown 2013-11-07 21:40:26 +01:00
Pieter Hintjens
e66b42f363 Merge pull request #746 from ricnewton/master
Make FD_SETSIZE = ZMQ_MAX_SOCKETS_DFLT + 1 so there is room for the reaper socket
2013-11-07 11:46:29 -08:00
Richard Newton
0b92831b2a Make FD_SETSIZE = ZMQ_MAX_SOCKETS_DFLT + 1 so there is room for the repear socket. 2013-11-07 18:26:13 +00:00
Pieter Hintjens
4616403b10 Merge pull request #745 from ricnewton/master
Get maximum number of sockets it can handle from poller_t
2013-11-07 10:00:57 -08: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
3aa7348e0b Merge branch 'master' of https://github.com/zeromq/libzmq 2013-11-07 17:46:32 +00: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
Pieter Hintjens
1596a5e871 Merge pull request #743 from ricnewton/master
Add test case for many sockets
2013-11-07 09:18:53 -08:00
Richard Newton
97cfa64d93 Merge branch 'master' of https://github.com/zeromq/libzmq 2013-11-07 16:49:06 +00: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
Richard Newton
c4f09953d8 Merge remote-tracking branch 'upstream/master' 2013-11-07 16:48:07 +00:00
Richard Newton
554b3c1f70 Add test case for many sockets 2013-11-07 16:47:55 +00: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
Richard Newton
e3898b5d77 Merge pull request #740 from hintjens/master
Fix for issue 574
2013-11-07 06:20:34 -08:00
Pieter Hintjens
c573f6b812 Fix for issue 574 2013-11-07 14:59:53 +01:00
Pieter Hintjens
729e9496b2 Merge pull request #739 from mbarbisan/master
Modified the zmq_setsockopt documentation to include the ZMQ_ROUTER_HAND...
2013-11-06 23:34:36 -08:00
Mark Barbisan
e84f17bbb4 Modified the zmq_setsockopt documentation to include the ZMQ_ROUTER_HANDOVER option 2013-11-06 23:21:28 -05:00
Pieter Hintjens
6ed1f4766a Merge pull request #738 from ricnewton/master
Fix race condition on shutdown
2013-11-06 07:41:02 -08:00
Richard Newton
844689ed9a Fix race condition on shutdown 2013-11-06 15:19:04 +00:00
Richard Newton
8797af777b Merge pull request #737 from hintjens/master
Removed over-long pauses in tests
2013-11-06 04:53:05 -08:00
Pieter Hintjens
5b60540ed0 Removed over-long pauses in tests
- used msleep (10) in most places instead of zmq_sleep (1)
- may cause failures on slower machines
- to change, modify SETTLE_TIME in testutil.h
- tested down to 1 msec on fast boxes
2013-11-06 13:42:57 +01:00
Richard Newton
c2c6ec1907 Merge pull request #736 from Hugne/lookup_domain
zmq: change TIPC default lookup domain when connecting
2013-11-05 04:39:43 -08: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
370045367d Merge pull request #735 from Hugne/tipc_docs
zmq: add TIPC manpage
2013-11-05 04:08:10 -08:00
Erik Hugne
bbbccebbe7 zmq: add TIPC manpage
Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
2013-11-05 13:02:41 +01:00
Richard Newton
0d5ffd5a0c Merge pull request #734 from hintjens/master
Fixed issue 578
2013-11-04 07:54:07 -08: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
75af9ddb78 Merge pull request #733 from mingulov/doc
Doc examples with zmq_msg_close usage - parameter is 'zmq_msg_t *'
2013-11-04 05:29:36 -08:00
Denis Mingulov
bdf8bc3193 Doc examples with zmq_msg_close usage - parameter is 'zmq_msg_t *'
Documentation examples for zmq_msg_get and zmq_msg_more functions have an
incorrect call to zmq_msg_close function - with 'zmq_msg_t' as a parameter
despite 'zmq_msg_t *' is required, so it is impossible to compile these
examples properly.

Also for zmq_msg_get example - declaration of zmq_msg_t variable is added
(like it is done in other examples).
2013-11-04 15:19:34 +02: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
Pieter Hintjens
2db808f250 Merge pull request #730 from Hugne/tipc
Tipc support
2013-11-01 04:05:55 -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