Commit Graph

2841 Commits

Author SHA1 Message Date
KIU Shueng Chuan
bd41087ab9 make win32 signaler support ephemeral ports 2013-11-28 18:25:28 +08:00
Pieter Hintjens
a9eb6f792b Merge pull request #762 from ricnewton/master
Fix windows build for type of service.
2013-11-25 01:32:51 -08:00
Richard Newton
abbe704d9e Fix windows build for type of service. 2013-11-25 09:25:23 +00:00
Pieter Hintjens
3cddcbaadc Merge pull request #761 from claws/add_dscp_sockopt
Add ability to set Differential Services Code Point socket option
2013-11-24 22:50:18 -08:00
Chris Laws
a4385e6105 tidy up 2013-11-25 13:40:05 +10:30
Chris Laws
38bceca9ca Add ability to set and get DSCP socket option 2013-11-25 13:31:21 +10:30
Pieter Hintjens
b91ef997ce Merge pull request #760 from shancat/move_linger_test
Move linger test to issue repo.
2013-11-24 13:02:47 -08:00
Shannen Saez
8f97f621a8 Move linger test to issue repo.
See https://github.com/zeromq/issues/pull/7

Signed-off-by: Shannen Saez <shannenlaptop@gmail.com>
2013-11-25 14:37:47 +11:00
Richard Newton
7c2c02862e Merge pull request #759 from hintjens/master
Moved version macros to top for better visibility
2013-11-24 08:19:02 -08:00
Pieter Hintjens
75a293d379 Moved version macros to top for better visibility 2013-11-24 12:47:24 +01:00
Richard Newton
46c5a239cb Merge pull request #758 from hintjens/master
Fixed test_many_sockets
2013-11-19 08:15:50 -08:00
Pieter Hintjens
4d22d456a9 Reverting path change on platform.hpp, this broke some builds 2013-11-19 17:11:15 +01:00
Pieter Hintjens
f98fbd5ad8 Fixed test_many_sockets
* failed on systems where process could not allocate 1024 sockets by default
* include path for platform.hpp was wrong; fixed it
2013-11-19 16:51:06 +01:00
Pieter Hintjens
0ee76912e7 Merge pull request #756 from 0x6d686b/master
Fixed typo in documentation about zmq_proxy_steerable()
2013-11-15 06:33:52 -08:00
Mathias Hablützel
3535a1d7ea
Fixed typo in documentation about zmq_proxy_steerable() 2013-11-15 15:31:09 +01:00
Pieter Hintjens
a0bde50887 Merge pull request #755 from hintjens/master
Added links to RFCs for socket patterns
2013-11-13 04:58:37 -08:00
Pieter Hintjens
c89518d33d Added links to RFCs for socket patterns 2013-11-13 13:57:57 +01:00
Pieter Hintjens
4a7f07a19a Merge pull request #754 from pijyoi/master
remove all asserts during critical section for win32 make_fdpair codepath
2013-11-11 10:42:08 -08:00
Ian Barber
e3ddda7a1f Merge pull request #753 from pijyoi/master
handle bind error in make_fdpair() win32 codepath
2013-11-11 09:13:09 -08:00
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
Ian Barber
ba33fb748b Merge pull request #752 from ricnewton/master
Revert "Make FD_SETSIZE = ZMQ_MAX_SOCKETS_DFLT + 1 so there is room for ...
2013-11-11 09:10:51 -08:00
KIU Shueng Chuan
cf8ba925b4 return error to caller on bind error 2013-11-12 00:07:06 +08:00
Richard Newton
5f8067cd1b Fix signed/unsigned comparison 2013-11-11 13:54:58 +00:00
Richard Newton
dee333b2ed Fix signed/unsigned comparison 2013-11-11 13:53:25 +00:00
Ian Barber
51fa803d63 Merge pull request #751 from psl-felipefarinon/master
Removing C++11 code.
2013-11-11 05:51:12 -08:00
Richard Newton
7c51429440 Reduce default maximum number of sockets by 1 so there is room for the reaper socket. 2013-11-11 13:41:42 +00:00
Richard Newton
f77b96e4d9 Revert "Make FD_SETSIZE = ZMQ_MAX_SOCKETS_DFLT + 1 so there is room for the repear socket."
This reverts commit 0b92831b2a.
2013-11-11 13:09:23 +00: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