Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
PK!™ ®ëå¡å¡ ChangeLognu„[µü¤# Generated by Makefile. Do not edit. commit ec95f91e686f270a93a4f9a6a15c73c8eb3df8c6 Merge: 3ae04f1 ceb72c7 Author: Constantin Rack Date: Tue Nov 1 18:15:43 2016 +0100 Merge pull request #156 from bluca/rel Problem: need to tag a new release commit ceb72c7e0666f63f6b3d4e411d218fc8876f7e7c Author: Luca Boccassi Date: Tue Nov 1 15:58:34 2016 +0000 Finalize NEWS and bump ABI to 5:2:0 for 4.1.6 NEWS | 2 +- configure.ac | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) commit b41ef3963b98c6a8edc29b7ff7e3fb634e37ae90 Author: Luca Boccassi Date: Tue Nov 1 15:53:56 2016 +0000 Problem: spec file hard codes .so version Solution: use wildcard instead builds/redhat/zeromq.spec.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 3ae04f1d3e2a66be7eff7aa57a838afad74fadc9 Merge: 21e4847 fb1ee2b Author: Doron Somech Date: Tue Nov 1 16:48:14 2016 +0200 Merge pull request #155 from bluca/alignment Problem: pointer union for zmq_msg_t is a hack commit fb1ee2b078af0f0a6f7bcbac12be2a26b0512ce4 Author: Luca Boccassi Date: Tue Nov 1 13:02:59 2016 +0000 Update NEWS for #1325 NEWS | 2 ++ 1 file changed, 2 insertions(+) commit f2de03a48005834aa7ac3df76ea973f3e0af7a92 Author: Luca Boccassi Date: Fri Oct 28 16:31:48 2016 +0100 Problem: MS VC++ build broken Solution: try to detect architecture if building with VC++ and hardcode pointer size accordingly. Expressions are not allowed inside declspec intrinsics, which includes other intrinsics. include/zmq.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit a077adb4a0e9fdd8f96f5eee12a6613c134090f7 Author: Luca Boccassi Date: Tue Nov 1 13:00:05 2016 +0000 Problem: pointer union for zmq_msg_t is a hack Solution: use compiler's alignment attributes instead which is clearer and less of a hack. Pointer alignment violations causing crashes on architectures such as sparc64 and aarch64. This also avoid triggering ABI checkers as the change is compatible even though applications that suffer from the bug should rebuild to take advantage of the fix. include/zmq.h | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit 21e484750e4c13e81597bbb4cf6d178ef05e8631 Merge: 7302228 dc68d2e Author: Luca Boccassi Date: Sun Oct 23 20:25:47 2016 +0100 Merge pull request #154 from vielmetti/patch-1 Update INSTALL to note issues with parallel "make -j check" commit dc68d2ef4581f3cab6cebcf46a479b0ab933c88b Author: Edward Vielmetti Date: Sun Oct 23 15:21:57 2016 -0400 Update INSTALL to note issues with parallel "make -j check" Documentation also patched in libzmq. Closes #151 to document non-support for parallel make check. INSTALL | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7302228026871045590778c85fe9ddc84983707a Merge: ff8b0aa 56611dd Author: Luca Boccassi Date: Fri Oct 21 12:40:22 2016 +0100 Merge pull request #153 from jens-auer/2158 Fixed function prototypes commit 56611dd46bd1d1ded57e64ecec9989b0d122d8ac Author: Jens Auer Date: Fri Oct 21 12:27:32 2016 +0200 Fixed function prototypes src/socket_base.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit ff8b0aa6eca447452a173a161aa9d873965edcac Merge: cd3680d 5e20710 Author: Constantin Rack Date: Thu Oct 13 13:13:58 2016 +0200 Merge pull request #150 from bluca/news Problem: NEWS out of date commit 5e207100f57b4434bc5fdf6be95ed0588365d6c4 Author: Luca Boccassi Date: Thu Oct 13 10:48:14 2016 +0100 Problem: NEWS out of date Solution: mention recently backported fixes NEWS | 4 ++++ 1 file changed, 4 insertions(+) commit cd3680d178a0f4ce4f6b5a9971d7790b5de5bbb4 Merge: 107266b 798532e Author: Luca Boccassi Date: Thu Oct 13 10:37:50 2016 +0100 Merge pull request #148 from jens-auer/backport-#1649 Merged PR 1649 commit 107266b77d8fc79f1d4bcb1f73d3c79a2f9269c8 Merge: 5ea5629 7aec4be Author: Luca Boccassi Date: Thu Oct 13 10:37:37 2016 +0100 Merge pull request #149 from jens-auer/2158 Add mutex to socket monitor access commit 798532e0c5ec386cdee015eba2a8c3cb6de5ff16 Author: Jens Auer Date: Tue Oct 11 12:26:24 2016 +0000 Merged PR 1649 https://github.com/zeromq/libzmq/pull/1649/commits src/pipe.cpp | 11 ++----- tests/test_hwm_pubsub.cpp | 77 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+), 8 deletions(-) commit 7aec4be368558d7f920dd864fc420477e97fbe9e Author: Jens Auer Date: Tue Oct 11 12:24:55 2016 +0000 Add mutex to socket monitor access The monitor socket is used concurrently from different threads and needs protection. src/socket_base.cpp | 66 +++++++++++++++++++++++++++++++---------------------- src/socket_base.hpp | 11 +++++---- 2 files changed, 46 insertions(+), 31 deletions(-) commit 5ea56294517b20b3b935687d41ab9dc366e9ec4b Merge: 44c1d81 064a8b6 Author: Luca Boccassi Date: Mon Oct 3 23:54:30 2016 +0100 Merge pull request #147 from WGH-/doc-router-mandatory-block doc/zmq_socket.txt: clarify that ROUTER can be blocking commit 064a8b676604d5e5e2d7b94356991749a5e8fe2c Author: WGH Date: Tue Oct 4 00:37:50 2016 +0300 doc/zmq_socket.txt: clarify that ROUTER can be blocking Problem: zmq_socket doc doesn't mention that router can block on send Solution: clarify that it may block, and under which conditions doc/zmq_socket.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 44c1d81506a42a3f2adad414092b284389f5502a Merge: 89cf62b 05f1912 Author: Constantin Rack Date: Sat Sep 24 21:33:05 2016 +0200 Merge pull request #146 from bluca/dealer_router_async Problem: zmq_ctx_term asserts with connect-before-bind and sockets with identity over inproc transport commit 05f1912b63f58ad3525d9b2dc0fae21a3994c04d Author: Luca Boccassi Date: Sat Sep 24 19:58:35 2016 +0100 Problem: Travis CI OSX builds are broken Solution: add a workaround to reinstall libtool. Travis hasn't fixed the issue in a month, so time for a little hack until they sort it. .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) commit 0527673982105ace35c1b78ac81a649009fcfcc5 Author: Luca Boccassi Date: Sat Sep 24 19:47:33 2016 +0100 Update NEWS for #2117 NEWS | 2 ++ 1 file changed, 2 insertions(+) commit d38a2d507d7cfe0d0c30933c374612be566a33ba Author: Luca Boccassi Date: Sat Sep 24 18:07:23 2016 +0100 Problem: zmq_ctx_term asserts with connect-before-bind and sockets with identity over inproc transport Solution: check if the connecting inproc socket has been closed before trying to send the identity. Otherwise the pipe will be in waiting_for_delimiter state causing writes to fail and the connect to assert when the context is being torn down and the pending inproc connects are resolved. Add test case that covers this behaviour. src/ctx.cpp | 8 +++++++- tests/test_inproc_connect.cpp | 25 +++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) commit 89cf62b977873d175606375020c4c09fde91840f Merge: 7d11efa 1a51f72 Author: Constantin Rack Date: Sat Sep 17 21:35:56 2016 +0200 Merge pull request #145 from bluca/ipv6_multi_endpoint Problem: zmq_connect with IPv6 "source:port;dest:port" format is broken commit 1a51f726a8cbbccccb5799162a1850a95b46ede5 Author: Luca Boccassi Date: Sat Sep 17 20:01:35 2016 +0100 Update NEWS for #2107 NEWS | 2 ++ 1 file changed, 2 insertions(+) commit acab1f487bfaca026715c19cb2816c0cc1e60f7f Author: Luca Boccassi Date: Sat Sep 17 19:18:09 2016 +0100 Problem: zmq_connect with IPv6 "source:port;dest:port" format is broken Solution: allow for '[' character when doing the basic sanity check on the TCP endpoint. Also add unit tests for both IPv4 and IPv6 source;dest format. src/socket_base.cpp | 2 +- tests/test_reqrep_tcp.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) commit 8ddf198256a2ca83eca57df4f47cdb14e42d8b1f Author: Luca Boccassi Date: Sat Sep 17 19:08:53 2016 +0100 Problem: test_reqrep_tcp does not have IPv6 tests Solution: add them tests/test_reqrep_tcp.cpp | 130 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) commit 67d60b1909958ceb16615962251de6651dbfe7ca Author: Luca Boccassi Date: Sat Sep 17 18:55:25 2016 +0100 Problem: test_reqrep_tcp does not test multiple endpoints Solution: add a test for this use case tests/test_reqrep_tcp.cpp | 71 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) commit 9c350937822ce408b31037709742e1faf11c64f8 Author: Luca Boccassi Date: Sat Sep 17 18:51:11 2016 +0100 Problem: test_reqrep_tcp does not test disconnect/unbind Solution: add disconnect and unbind calls to the test tests/test_reqrep_tcp.cpp | 6 ++++++ 1 file changed, 6 insertions(+) commit 7bc7395a2ad1fef1f17cff4294533c6d4d631874 Author: Luca Boccassi Date: Sat Sep 17 18:46:21 2016 +0100 Problem: test_reqrep_tcp is too limited Solution: refactor it to allow for multiple functionalities to be tested tests/test_reqrep_tcp.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 7d11efa0e2797922f60972e82a4c5e93f35b5193 Merge: 3f791bb f942303 Author: Luca Boccassi Date: Wed Sep 14 16:16:24 2016 +0100 Merge pull request #144 from kou/support-mingw-cross-compile Support cross compile with MinGW on Linux commit f942303cd54966cfc50f7c1a4be78560c17f0987 Author: Kouhei Sutou Date: Wed Sep 14 23:28:46 2016 +0900 Support cross compile with MinGW on Linux Linux uses case sensitive file system. So we can't find "wincrypt.h" by "WinCrypt.h". tweetnacl/contrib/randombytes/winrandom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3f791bb92b417491ae67b26a25e20e787bed2651 Merge: aac9e54 60162b5 Author: Constantin Rack Date: Fri Sep 2 10:16:46 2016 +0200 Merge pull request #141 from bluca/cmake_dist Problem: CMake build from dist tarball broken commit 60162b52262bbb43b226493bce6d83cd309c7823 Author: Luca Boccassi Date: Thu Sep 1 13:29:13 2016 +0100 Update NEWS for #2096 NEWS | 2 ++ 1 file changed, 2 insertions(+) commit e00b2c4b082cf74628e26f719ebb98bc8e5b553f Author: Luca Boccassi Date: Thu Sep 1 13:23:09 2016 +0100 Problem: CMake build from dist tarball broken Solution: include src/version.rc.in and tests/CMakeLists.txt in the make dist tarball by adding them to makefile.am EXTRA_DIST list. Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit aac9e54f8d9377be2c4dddc5cfc0ca36ab32d19f Merge: a6d24d7 2268009 Author: Constantin Rack Date: Sat Aug 27 18:31:54 2016 +0200 Merge pull request #140 from bluca/xp_testutils_ipv6 Problem: testutil.hpp fails to build on Windows XP commit 22680094ca76cd1fa570d4009e57aa4d7e602348 Author: Luca Boccassi Date: Sat Aug 27 17:15:58 2016 +0100 Update NEWS for #2091 NEWS | 2 ++ 1 file changed, 2 insertions(+) commit 328fe0994651f660fefa208f1767572955cf6946 Author: Luca Boccassi Date: Sat Aug 27 16:40:43 2016 +0100 Problem: testutil.hpp fails to build on Windows XP Solution: ifdef is_ipv6_available to always return false if building on Windows XP, as it doesn't support the needed standard libc functions tests/testutil.hpp | 4 ++++ 1 file changed, 4 insertions(+) commit a6d24d7fd890153bb5a4bb294a7c82fa5d67a68f Merge: aab1edf 2b7b903 Author: Luca Boccassi Date: Fri Aug 26 11:37:40 2016 +0100 Merge pull request #137 from gcv/master Fix alignment problem with zmq_msg_t commit aab1edfd7d9fc8e993be68e9128994c35ff3d273 Merge: 4732951 b86717d Author: Luca Boccassi Date: Mon Aug 22 20:34:25 2016 +0100 Merge pull request #139 from t-b/bugfix/fix_compilation_on_windows Fix compilation on windows commit b86717dc9a5d83e05644b9e301f60746483a8897 Author: Thomas Braun Date: Mon Aug 22 20:57:28 2016 +0200 Tests: Fix compilation on Windows Visual Studio 2015 does grok the preprocessor defintion. Add an explicit call to defined as done in other places. tests/test_security_curve.cpp | 2 +- tests/test_security_null.cpp | 2 +- tests/test_security_plain.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 64dbf56d6ef17e0bc6bb1a193f70bf9252638b82 Author: Thomas Braun Date: Mon Aug 22 20:57:01 2016 +0200 testutil.hpp: Fix include path to windows.hpp tests/testutil.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2b7b903a854a4b8f8bfc62a852a8e9a3d306296c Author: Constantine Vetoshev Date: Tue Aug 16 13:31:46 2016 -0700 Fix alignment problem with zmq_msg_t. Problem occurs on SPARC and ARM CPUs. This commit is a backport of https://github.com/zeromq/libzmq/commit/d9fb1d36ff2008966af538f722a1f4ab158dbf64 (from libzmq), first reported in https://github.com/zeromq/libzmq/issues/1325. include/zmq.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 4732951d05911f03f0c8273309732ace8b101a71 Merge: 61b8f1a 727178f Author: Doron Somech Date: Tue Aug 16 11:47:56 2016 +0300 Merge pull request #136 from GreatFruitOmsk/master Backport fix libzmq #2084 commit 727178f1acb6c06733cfde369f9d4e68ae97edb8 Author: Ilya Kulakov Date: Tue Aug 16 00:59:42 2016 -0700 Backport fix libzmq #2084 CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 61b8f1a4241fdb4fe17e54c2920fc230d4bb4de1 Merge: 53c7bcf 888b1f8 Author: Kevin Sapper Date: Tue Jul 26 06:34:39 2016 +0000 Merge pull request #134 from bluca/news Problem: NEWS out of date commit 888b1f8649b7a991f86b859604bdda2911339e0a Author: Luca Boccassi Date: Thu Jul 21 10:15:55 2016 +0100 Update NEWS to mention fixed issue 2051 NEWS | 2 ++ 1 file changed, 2 insertions(+) commit 53c7bcfa5fa4722ef0e774c1f2ea44b18250e3d4 Merge: e8116b1 565892f Author: Luca Boccassi Date: Wed Jul 20 23:24:24 2016 +0100 Merge pull request #133 from garlick/issue_2051 Problem: getifaddrs can fail with ECONNREFUSED commit 565892f3cd71b65f097f748321832e7003a3d9a0 Author: Jim Garlick Date: Wed Jul 20 10:15:55 2016 -0700 Problem: getifaddrs can fail with ECONNREFUSED getifaddrs() can fail transiently with ECONNREFUSED on Linux. This has been observed with Linux 3.10 when multiple processes call zmq::tcp_address_t::resolve_nic_name() simultaneously. Before asserting in this case, make 10 attempts, with exponential backoff, given by (1 msec * 2^i), where i is the attempt number. Fixes #2051 src/tcp_address.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit e8116b1f1ce90bb98d327833548b364c24b80365 Author: Luca Boccassi Date: Fri Jun 17 12:41:42 2016 +0100 Bump version to 4.1.6 for next release NEWS | 4 ++++ include/zmq.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit c5bd2870c2eaa3fd12f4c53367a3c9a0fd14fe85 Author: Luca Boccassi Date: Fri Jun 17 12:05:57 2016 +0100 Finalize NEWS and bump ABI to 5:1:0 for 4.1.5 NEWS | 2 +- builds/redhat/zeromq.spec.in | 2 +- configure.ac | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) commit 2ef080588aa733f36474fae984cf85a735c64ad5 Merge: b849af4 7a8a83b Author: Kevin Sapper Date: Sat Jun 4 18:32:48 2016 +0200 Merge pull request #127 from bluca/fix_deploy Problem: Travis deploy token is wrong commit 7a8a83ba84a0c82806314e18466844222fc0c538 Author: Luca Boccassi Date: Sat Jun 4 17:29:25 2016 +0200 Problem: Travis deploy token is wrong Solution: encrypt it wit the right parameter and fix it .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b849af44c55175179d8aaeb0e9dc23123c717a4e Merge: 7d540d6 3f7c3c2 Author: Kevin Sapper Date: Sat Jun 4 16:46:16 2016 +0200 Merge pull request #126 from bluca/distcheck Problem: make distcheck is broken and deploying release artifacts is a manual process commit 3f7c3c2658986cab620c986a6d2995a96b56697b Author: Kevin Sapper Date: Wed May 4 22:05:40 2016 +0200 Problem: Deploying release artifacts is a manual process Solution: Use travis to deploy these artifacts automatically. The deployment is triggered by tagging on the zeromq/libzmq repository. Of the many builds travis is checking only the default one with libsodium and drafts disabled is used for deployment. For now the results of `make distcheck` are deployed as well as their md5 and sha1 hash sums. Further changes may upload a generated Changelog as well. .travis.yml | 16 ++++++++++++++++ ci_deploy.sh | 20 ++++++++++++++++++++ 2 files changed, 36 insertions(+) commit 81a68d73dddedddf3a383608d1b2547cf7d93702 Author: Luca Boccassi Date: Sat Jun 4 13:01:41 2016 +0200 Problem: Travis CI does not run make distcheck Solution: do it .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6c1851efdbd72919c9b9ac0480b08f58d60c8d6a Author: Pieter Hintjens Date: Sat Jun 4 15:58:13 2016 +0200 Problem: autotools platform.hpp is not compatible with CMake Specifically, the poller detection code does not set macros in platform.hpp. The configure script passed them as -D on the command line. Solution: rewrite the poller detection code. acinclude.m4 | 211 ++++++++++++++++++++++++++++------------------------------- configure.ac | 8 ++- 2 files changed, 104 insertions(+), 115 deletions(-) commit 83bf40ee1fbca75631149d9d1510ebd9c8e7fb92 Author: Luca Boccassi Date: Sat Jun 4 15:39:43 2016 +0200 Update NEWS for fix #2021 NEWS | 2 ++ 1 file changed, 2 insertions(+) commit 7d540d6dfeacede3c1bf5919802343ebb771b1ff Merge: 330c682 d0b2239 Author: Luca Boccassi Date: Sat Jun 4 14:34:41 2016 +0100 Merge pull request #125 from wbx-github/master allow to build sparc (v8,leon) commit 330c68240389d88a52c154a699bb1981f3cacd78 Merge: 4d613cb 1b06a50 Author: Luca Boccassi Date: Sat Jun 4 10:28:56 2016 +0100 Merge pull request #124 from aburgm/issue-1542 Backport fix for issue 1542 to zmq 4.1.x commit 4d613cb8901a969146f158a4884c401edbdc7159 Merge: 56b71af ca69183 Author: Luca Boccassi Date: Sat Jun 4 10:28:12 2016 +0100 Merge pull request #122 from pijyoi/master fix: sockets are not signed int on Windows commit d0b22397ebbef8e250c4cad25b8686018804aa15 Author: Waldemar Brodkorb Date: Sat Jun 4 09:30:49 2016 +0200 allow to build sparc (v8,leon) Only set sparcv9 optimization for sparc64 systems. This allows to run for example application using zeromq on sparc32 systems. Signed-off-by: Waldemar Brodkorb configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1b06a5025d8a8c6b1f0b2abd3402f96ac6ac1cfb Author: Armin Burgmeier Date: Fri Jun 3 20:41:04 2016 -0700 Update NEWS to mention fixed issue 1542 NEWS | 2 ++ 1 file changed, 2 insertions(+) commit 783fb45f9dd47196ec6c82ac7c7821deb1e1031c Author: Matt Bolger Date: Fri Aug 21 13:45:59 2015 +1000 -Set signaler_port to 0 which allows the OS to find a free port, rather than crashing if 5905 is in use (https://github.com/zeromq/libzmq/issues/1542) -Added config.hpp to the source list so it shows up in generated projects -Remove CMAKE_BUILD_TYPE setting for generators that don't use it CMakeLists.txt | 7 +++++-- src/config.hpp | 6 +++++- 2 files changed, 10 insertions(+), 3 deletions(-) commit ca691835927292f015a6854450b3492bd41959e2 Author: KIU Shueng Chuan Date: Sun May 8 16:29:15 2016 +0800 fix: sockets are not signed int on Windows src/tcp_connecter.cpp | 2 +- src/tcp_listener.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 56b71af22db3232eb57fd72e954e22eeac497b46 Merge: 3ad076a 6bbc6b6 Author: Pieter Hintjens Date: Wed May 4 12:46:47 2016 +0200 Merge pull request #121 from bluca/builds_make_dist Problem: missing files in release tarballs commit 6bbc6b67f651eb10a9baaa246f63ae32e8bfb1c3 Author: Luca Boccassi Date: Wed May 4 11:26:43 2016 +0100 Update NEWS for fix #1952 NEWS | 2 ++ 1 file changed, 2 insertions(+) commit c369d9bd36a4d6ac416f53095fb7ad77cd10b27a Author: Luca Boccassi Date: Sun Mar 6 18:32:30 2016 +0000 Problem: doc/Makefile.am ignores --without-docs Solution: add the document files to the MAN_DOC and MAN_HTML targets in doc/Makefile.am only if BUILD_DOC and INSTALL_MAN are set, otherwise leave the targets empty to avoid errors in make distcheck. doc/Makefile.am | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 4dd6257d9316b44134b4ef4070249531d1a83e77 Author: Pieter Hintjens Date: Mon Aug 10 12:25:19 2015 +0200 Problem: source packages lack makefiles for all systems except msvc Solution: specify the necessary EXTRA_DIST I added a Makefile.am in builds that covers all systems except msvc, which already has a Makefile.am that does this. Fixes #1505 Makefile.am | 2 +- builds/Makefile.am | 26 ++++++++++++++++++++++++++ configure.ac | 1 + 3 files changed, 28 insertions(+), 1 deletion(-) commit 3ad076a7a3e79fbe9c6dd6dc4bdd75d4e6c7b77f Merge: b315d61 81c9c49 Author: Min RK Date: Thu Apr 21 12:03:17 2016 +0200 Merge pull request #118 from bluca/zmq_unbind_api_breakage Problem: can't unbind with bound addr with IPv6 commit 81c9c498eefb450a9d7a35a56cb995943b8394b7 Author: Luca Boccassi Date: Mon Apr 18 18:13:45 2016 +0100 Update NEWS for fix #114 NEWS | 3 +++ 1 file changed, 3 insertions(+) commit 0af39a443f39c1a0bb5d7d60ca8667b4e33599f4 Author: Luca Boccassi Date: Mon Apr 18 00:02:36 2016 +0100 Problem: can't unbind with bound addr with IPv6 Solution: try to resolve the TCP endpoint passed by the user in the zmq_unbind call before giving up, if it doesn't match. This fixes a breakage in the API, where after a call to zmq_bind(s, "tcp://127.0.0.1:9999") with IPv6 enabled on s would result in the call to zmq_unbind(s, "tcp://127.0.0.1:9999") failing. Add more test cases to increase coverage on all combinations of TCP endpoints. src/socket_base.cpp | 32 +++++- tests/test_unbind_wildcard.cpp | 228 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 259 insertions(+), 1 deletion(-) commit 1586f3f25ebb4b479e4334eccb551634425bcb0f Author: Luca Boccassi Date: Mon Apr 18 17:12:01 2016 +0100 Problem: can't test if IPv6 is available in tests Solution: add helper function is_ipv6_available to testutil.hpp to test if IPv6 is available on the building platform. This function will try to open and bind a socket to ::1:*, as it's the ultimate way of knowing if, at least on the loopback, IPv6 is enabled. tests/testutil.hpp | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) commit b315d610b804bad5637ea31cdfced30da2dddd0f Merge: dd077bc 2018743 Author: Pieter Hintjens Date: Wed Apr 20 19:12:30 2016 +0200 Merge pull request #119 from hitstergtd/fix-NEWS-for-pr-1877 Problem: No NEWS entry for Issue #919 commit 2018743b4e980513b8ac70f8fb2e9d6579260e23 Author: hitstergtd Date: Wed Apr 20 08:59:43 2016 +0100 Problem: No NEWS entry for Issue #919 Solution: add entry and mark it as related to Issue #1877 and PR #1511 NEWS | 1 + 1 file changed, 1 insertion(+) commit dd077bc2b2db192ee6abe41f8070817fed9c7990 Merge: 7105025 e488df7 Author: Constantin Rack Date: Wed Apr 13 22:56:53 2016 +0200 Merge pull request #117 from bluca/solaris_fixes Problem: build broken on Solaris 10 commit e488df7892dda78564c7086bee0c10dd6d4ad88d Author: Luca Boccassi Date: Wed Apr 13 00:22:22 2016 +0100 Update NEWS for fix #1866 NEWS | 2 ++ 1 file changed, 2 insertions(+) commit 02d71a88ab0794799a40f8d08240d73028176815 Author: Luca Boccassi Date: Wed Apr 13 00:05:26 2016 +0100 Problem: missing () after sizeof cause build fail Solution: use sizeof () to avoid build failure on Solaris 10 with gcc 3.4 src/tcp_address.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b2eddf9746c58b0a870a90f0d57dea03fce5b06a Author: Luca Boccassi Date: Tue Apr 12 23:53:17 2016 +0100 Problem: -lssp causes build failure on Solaris Solution: add -lssp on Solaris only when libsodium is enabled and has been found. Also disable pedantic and Werror, as libsodium headers use pragma diagnostic which are not available in gcc 3.4. configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3945f27f6d4fd7bcc803ff4a36fc5db239ce2eac Author: Luca Boccassi Date: Tue Apr 12 23:52:34 2016 +0100 Problem: pragma diagnostic is new in GCC 4.2 Solution: check for GCC version before using pragma diagnostic in tweetnacl to avoid an additional warning. tweetnacl/contrib/randombytes/randombytes.h | 2 +- tweetnacl/src/tweetnacl_base.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 71050259f7c8aa343e62866a10e757f75c6b5184 Merge: 197a9e0 6d92d26 Author: Constantin Rack Date: Thu Apr 7 18:30:13 2016 +0200 Merge pull request #116 from bluca/ipv6_downgrade commit 6d92d263e13fd00c5170274f8dd4ab92d8324cb5 Author: Luca Boccassi Date: Thu Apr 7 17:10:52 2016 +0100 Update NEWS for fix #1887 NEWS | 2 ++ 1 file changed, 2 insertions(+) commit 1a1abe3d5eacd3aa8bc50219383f532e39c080b6 Author: Luca Boccassi Date: Thu Apr 7 13:17:08 2016 +0100 Problem: redundant Windows errno conversion Solution: in the Windows-specific ifdef in tcp_listener set_address, check for error and set errno only after the IPv4 fallback has failed too, to avoid setting errno when the socket creation succeeds through the fallback. src/tcp_listener.cpp | 4 ---- 1 file changed, 4 deletions(-) commit 1e87d9252782423885f569a789714966c237b61f Author: Luca Boccassi Date: Thu Apr 7 13:15:41 2016 +0100 Problem: zmq_connect (TCP) has no IPv4 fallback Solution: if opening an IPv6 TCP socket fails because IPv6 is not available, try to open an IPv4 socket instead when creating and connecting a TCP endpoint. src/tcp_connecter.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 82aed1dee6c5ea8ce122c20712b9778b656ee9e6 Author: Luca Boccassi Date: Wed Apr 6 17:15:39 2016 +0100 Problem: zmq_bind IPv4 fallback still tries IPv6 Solution: if opening an IPv6 TCP socket fails because IPv6 is not available, try to open an IPv4 socket instead when creating and binding a TCP endpoint. src/tcp_listener.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 197a9e05e2322059edf1fa1be752b530efe40362 Merge: d873292 cf0dcd2 Author: Pieter Hintjens Date: Wed Mar 30 19:41:34 2016 +0200 Merge pull request #115 from bluca/linger_fix_backport Problem: connection might terminate prematurely commit cf0dcd237926affc7cb154143f7e0170ffd5fb3d Author: Luca Boccassi Date: Wed Mar 30 17:05:21 2016 +0100 Problem: NEWS not up to date with bug fixes Solution: mention closing issue #1877 NEWS | 2 ++ 1 file changed, 2 insertions(+) commit bf92026527a11667670cfe1f04c8308333f4982c Author: Soren Hansen Date: Thu Aug 6 20:09:37 2015 +0200 Avoid terminating connections prematurely While sending very large messages (far beyond what fits in a the tcp buffer, so it takes multiple sendto system calls for it to finish), zmq_close will close the connection regardless of ZMQ_LINGER. In case no engine is attached, a pipe->check_read() is needed to look for the delimiter in the pipe and ultimately trigger the pipe termination. However, if there *is* an engine attached, the check_read() looks ahead and finds the delimiter and terminates the connection even though the engine might actually still be in the middle of sending a message. This happens because while the io_thread is still busy sending the data, the pipe can get terminated and the io thread ends up being terminated. src/session_base.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d8732929d507d59dd8d877d35a81308d4ddb1e71 Merge: e0041f1 bbe4f3e Author: Constantin Rack Date: Tue Mar 15 07:02:50 2016 +0100 Merge pull request #112 from hintjens/master commit bbe4f3ede45f242b495f151922ab5a86a89f80de Author: Pieter Hintjens Date: Tue Mar 15 06:26:34 2016 +0100 Problem: does not build on Windows with libsodium Solution: fixed wrong condition around randombytes_close (). src/ctx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e0041f1fcbf5b335945efbcc37ea36fad16a29ce Merge: 5aa7bdf 9883459 Author: Constantin Rack Date: Sat Mar 12 20:52:29 2016 +0100 Merge pull request #111 from hintjens/master Problem: cannot disable encryption if libsodium is installed commit 98834596f1b70659ab6f47880dd61d402ba186e0 Author: Pieter Hintjens Date: Sat Mar 12 15:26:26 2016 +0100 Problem: cannot disable encryption if libsodium is installed The sodium/tweetnacl detection logic does not yet you disable encryption if libsodium is installed. Fixes #1850 in libzmq/master CMakeLists.txt | 64 ++++++++++++++--------- Makefile.am | 2 +- NEWS | 2 + configure.ac | 79 ++++++++++++++--------------- src/ctx.cpp | 10 ++-- src/curve_client.cpp | 4 +- src/curve_client.hpp | 16 +++--- src/curve_server.cpp | 4 +- src/curve_server.hpp | 16 +++--- src/options.cpp | 8 +-- src/stream_engine.cpp | 2 +- src/zmq.cpp | 2 +- src/zmq_utils.cpp | 17 +++---- tests/test_capabilities.cpp | 2 +- tests/test_security_curve.cpp | 4 +- tweetnacl/contrib/randombytes/randombytes.h | 10 ++++ tweetnacl/src/tweetnacl_base.h | 10 ++++ 17 files changed, 142 insertions(+), 110 deletions(-) commit 5aa7bdfc68514ae2bb0a3423040ce5388aef32c5 Merge: c1d8420 25be170 Author: Pieter Hintjens Date: Tue Mar 1 17:05:52 2016 +0100 Merge pull request #109 from hintjens/master Updated news for fix #1831 commit 25be170b57db3cf7689093608269904d639def7d Author: Pieter Hintjens Date: Tue Mar 1 17:05:22 2016 +0100 Updated news for fix #1831 NEWS | 2 ++ 1 file changed, 2 insertions(+) commit c1d8420335b5d70e23fed3da53638323a2c96492 Merge: 4985b08 58badc4 Author: Pieter Hintjens Date: Tue Mar 1 17:05:10 2016 +0100 Merge pull request #108 from hintjens/master Problem: can't be sure crypto_box always returns 0 commit 58badc44c12a4fd976b2a7c5cb8f0b1bbd0f6249 Author: Pieter Hintjens Date: Tue Mar 1 15:01:23 2016 +0100 Problem: can't be sure crypto_box always returns 0 Libsodium has started returning -1 in some cases. Solution: allow and handle error returns from these calls. Fixes #1831 src/curve_client.cpp | 10 ++++++---- src/curve_server.cpp | 3 ++- tests/test_security_curve.cpp | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) commit 4985b084e67dca8765ad940797f3fa5af6a6e66c Merge: 0b781f8 2fba10d Author: Pieter Hintjens Date: Mon Feb 29 21:38:54 2016 +0100 Merge pull request #107 from grimbeaver/fix-vs-versions Update VS version resource and package version. commit 2fba10d691495651f293e18212ff76636849d3a3 Author: Thomas Brezinski Date: Mon Feb 29 13:32:07 2016 -0600 Update VS version resource and package version. builds/msvc/resource.rc | Bin 4642 -> 4642 bytes packaging/nuget/package.config | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) commit 0b781f84e8a93796a3902bd5ec2828391e9e2bd1 Merge: 4d45ee9 b1a150a Author: Pieter Hintjens Date: Tue Feb 16 15:05:39 2016 +0100 Merge pull request #104 from bluca/uninitialised_news Problem: news out of date commit b1a150a6751547188b22eb822954b561851d1366 Author: Luca Boccassi Date: Tue Feb 16 14:04:10 2016 +0000 Problem: my name is not in the AUTHORS file Solution: add myself to the list AUTHORS | 1 + 1 file changed, 1 insertion(+) commit 5977a8a5b6c12d46658a6dbc08efa8bbcd0ba9e4 Author: Luca Boccassi Date: Tue Feb 16 14:02:30 2016 +0000 Problem: NEWS not up to date with bug fixes Solution: mention issues 1806 and 1807 NEWS | 4 ++++ 1 file changed, 4 insertions(+) commit 4d45ee94408724c5b5a41a93849240ca7435b266 Merge: cb811a1 eda5426 Author: Pieter Hintjens Date: Tue Feb 16 14:51:29 2016 +0100 Merge pull request #103 from bluca/uninitialised_sockopt Problem: curve keys getsockopt uninitialised read commit eda5426865a6035d564f1a1f8af67c64b38a8f6e Author: Luca Boccassi Date: Tue Feb 16 13:41:46 2016 +0000 Problem: Travis CI uses libsodium unstable branch Solution: use stable branch instead of the development branch, and also clone with --depth 1 to make it more efficient. .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6a66c051798332fbbf0fbffe09ff914746ece41f Author: Luca Boccassi Date: Tue Feb 16 13:27:09 2016 +0000 Problem: curve keys getsockopt uninitialised read Solution: always initialised zmq::options_t class variables arrays to avoid reading uninitialised data when CURVE is not yet configured and a getsockopt ZMQ_CURVE_{SERVER | PUBLIC | SECRET]KEY is issued. Backport from libzmq. src/options.cpp | 3 +++ 1 file changed, 3 insertions(+) commit cb811a1e0caa2b3d5e849e7095fd9e5cd9172699 Merge: b624f1a 87dd037 Author: Pieter Hintjens Date: Tue Feb 16 12:03:11 2016 +0100 Merge pull request #102 from hintjens/master Backported fix #1608 commit 87dd03750bf7ce0f8926e6d757b62604f7f952e9 Author: Pieter Hintjens Date: Tue Feb 16 12:02:26 2016 +0100 Updated NEWS for fix #1608 NEWS | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 4cee2896972f35a11d004bd2a842f774e0a6b747 Author: Pieter Hintjens Date: Sun Nov 1 12:57:32 2015 +0100 Problem: Windows 7 TCP slow start See issue #1608. This is an old issue with Windows 7. The effect is that we see a latency ramp on the first 500 messages. * The ramp is unaffected by message size. * Sleeping up to 100msec between sends has no effect except to switch off ZeroMQ batching so making the ramp more visible. * After 500 messages, latency falls back down to ~10-40 usec. * Over inproc:// the ramp happens when we use the signaler class. * Client-server over inproc:// does not show the ramp. * Client-server over tcp:// shows a similar ramp. We know that the signaller is using TCP on Windows. We can 'prime' the connection by doing 500 dummy sends. This potentially causes new sockets to be delayed on creation, which is not a good solution. Note that the signaller sends zero-byte messages. This may also be confusing TCP. Solution: flood the receive buffer when creating a new FD pair; send a 1M buffer and discard it. Fixes #1608 src/signaler.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit b624f1adc913f669010b519f80d7c92947285efb Merge: b341dd7 4959315 Author: Pieter Hintjens Date: Fri Feb 12 23:17:22 2016 +0100 Merge pull request #101 from bluca/gcc6 Problem: build broken with gcc 6 commit 49593151db3a53b99b69d4afa8be3112eead6b93 Author: meox Date: Fri Feb 12 21:57:51 2016 +0000 [PATCH] fix error with gcc 5.2 src/zmq.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b341dd7ffe15354012427bcfe7c8a88edccc603b Merge: ad7fe55 2058dec Author: Pieter Hintjens Date: Fri Feb 12 13:45:12 2016 +0100 Merge pull request #100 from CommanderBubble/master compilation fixes for when _WIN32_WINNT >= 0x0600 commit 2058dece7727ea97d8fc40286b1450a43a1fa49b Author: Michael Date: Fri Feb 12 23:36:48 2016 +1100 added windows.hpp with include check windows.hpp must be included before zmq.h when _WIN32_WINNT >= 0x0600 src/poller.hpp | 4 ++++ 1 file changed, 4 insertions(+) commit 45404f4b06238ad679f8e360ce48ee20171b16ad Author: Michael Date: Fri Feb 12 23:36:07 2016 +1100 added windows.hpp with include check windows.hpp must be included before zmq.h when _WIN32_WINNT >= 0x0600 src/msg.cpp | 6 ++++++ 1 file changed, 6 insertions(+) commit 6f4e9f13f3716c233add54f1121015fe358cbb1e Author: Michael Date: Fri Feb 12 23:34:43 2016 +1100 changed order of includes windows.hpp must be included before zmq.h when _WIN32_WINNT >= 0x0600 src/err.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit af3b9452a2026092d3abdaaca0ffbd2ea1e26369 Author: Michael Date: Fri Feb 12 23:33:22 2016 +1100 remove include that is already in header src/err.cpp | 1 - 1 file changed, 1 deletion(-) commit 626abbdaf2c325df665073d6ce7510d9f17f7c7a Author: Michael Date: Fri Feb 12 23:32:20 2016 +1100 update for mingw's default _WIN32_WINNT mingw defaults with _WIN32_WINNT as 0x0502 which doesn't define inet_pton(), so add a conditional check tests/test_security_plain.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit d0b341cf0fd59a3eb8809d4e6515857b30b28647 Author: Michael Date: Fri Feb 12 23:31:55 2016 +1100 update for mingw's default _WIN32_WINNT mingw defaults with _WIN32_WINNT as 0x0502 which doesn't define inet_pton(), so add a conditional check tests/test_security_null.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 41cc603d11588f76ba244ae77e8ed500833ad844 Author: Michael Date: Fri Feb 12 23:31:24 2016 +1100 update for mingw's default _WIN32_WINNT mingw defaults with _WIN32_WINNT as 0x0502 which doesn't define inet_pton(), so add a conditional check tests/test_security_curve.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit ad7fe55e95ddf6a352990b3b71f99a927ed0f5b6 Merge: b539733 e68c2d2 Author: Pieter Hintjens Date: Thu Feb 11 14:16:39 2016 +0100 Merge pull request #98 from zeromq/revert-95-patch-1 Revert "update minimum _WIN32_WINNT version to 0x0600 for 4.1.4 onwards" commit e68c2d25632c25fab0d988a25108f362bd674145 Author: Min RK Date: Thu Feb 11 14:00:41 2016 +0100 Revert "update minimum _WIN32_WINNT version to 0x0600 for 4.1.4 onwards" src/windows.hpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit b539733cee0f47f9bf1a70dc7cb7ff20410d3380 Merge: 58ac365 3ae84e6 Author: Pieter Hintjens Date: Mon Feb 8 13:01:12 2016 +0100 Merge pull request #97 from minrk/configure-tweetnacl support tweetnacl in configure commit 3ae84e6b00108ad6aed21faf22a08ae8faded56a Author: Min RK Date: Mon Feb 8 11:58:30 2016 +0100 fallback on tweetnacl if libsodium is not found and not explicitly requested configure.ac | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) commit 6f022cce929e55df1e71ca89351e209f9cdcfa1b Author: Min RK Date: Mon Feb 8 11:40:50 2016 +0100 add --with-tweetnacl to configure allows building with tweetnacl without cmake Makefile.am | 9 +++++++++ configure.ac | 11 +++++++++++ 2 files changed, 20 insertions(+) commit 58ac36593fe43b634a4b79cc3e4b565296aa1bad Merge: 5501f19 e3fba7d Author: Pieter Hintjens Date: Tue Feb 2 14:17:48 2016 +0100 Merge pull request #95 from CommanderBubble/patch-1 update minimum _WIN32_WINNT version to 0x0600 for 4.1.4 onwards commit e3fba7d447cc6826ed1b235e69156b9670ba0ef8 Author: Michael Date: Tue Feb 2 22:32:16 2016 +1100 updated minimum _WIN32_WINNT version to 0x0600 if_nametoindex requires minimum windows version vista, which is 0x0600 src/windows.hpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit 5501f19a0f4c596c5247c743c04759ef075927d3 Author: Pieter Hintjens Date: Thu Jan 21 18:04:09 2016 +0100 Update NEWS NEWS | 1 + 1 file changed, 1 insertion(+) commit 9bdfb949990e4ace7aeae29b2fc190340caa5206 Merge: 802c2a8 0c5c536 Author: Pieter Hintjens Date: Thu Jan 21 18:03:03 2016 +0100 Merge pull request #93 from GreatFruitOmsk/master Backport zeromq/libzmq#1723 commit 0c5c536303d0baf67a7c6ccebb0c7c92ee2c56c7 Author: Ilya Kulakov Date: Thu Jan 21 19:56:23 2016 +0600 Backport zeromq/libzmq#1723 src/tcp_address.cpp | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) commit 802c2a8a2bd1871b557817199af73d2896bf449c Merge: b7a3097 4788c7d Author: Pieter Hintjens Date: Thu Jan 21 08:58:23 2016 +0100 Merge pull request #92 from GreatFruitOmsk/master Backport zeromq/libzmq#1722 commit 4788c7d2a9e98520615e5e0ee6a996dfe86a304e Author: Ilya Kulakov Date: Thu Jan 21 13:45:42 2016 +0600 Backport zeromq/libzmq#1722 src/socket_base.cpp | 1 + 1 file changed, 1 insertion(+) commit b7a30978cae343d061983e00e8b2c713b66fc5a9 Merge: c7642aa d1a0baf Author: Pieter Hintjens Date: Mon Jan 18 15:53:16 2016 +0100 Merge pull request #91 from minrk/backport-winrandom-backwards backport winrandom fix commit d1a0baf25fc8251778ba6465c333bb82cd3150ab Author: Anonymous Maarten Date: Sun Oct 25 03:43:24 2015 +0100 tweetNaCL: fix winrandom problem: random byte generation on windows got stuck in an infinite loop solution: the failure test is incorrect. Change it tweetnacl/contrib/randombytes/winrandom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c7642aa434138232aad8d3caa02d38d734c75b11 Merge: 7689bc3 795a7e3 Author: Pieter Hintjens Date: Mon Jan 18 13:05:29 2016 +0100 Merge pull request #90 from hintjens/master Reverted patch for IPv6 support commit 795a7e3de23dd99852d68437c02048dfbbd3c865 Author: Pieter Hintjens Date: Mon Jan 18 13:04:00 2016 +0100 Revert "Fix missing include for if_nametoindex on Windows." This reverts commit b9dbc5b8caea5491c7330d891e93e2791d84c906. src/windows.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 95766dd09ca47e5d5994fb9ac69fe9c1d6968446 Author: Pieter Hintjens Date: Mon Jan 18 13:03:49 2016 +0100 Revert "Add missing support for IPv6 link local addresses (which include % followed by the interface name)" This reverts commit 849e5b07d982e7c0917a13d9ff22d447817dd7fe. src/socket_base.cpp | 6 ++---- src/tcp_address.cpp | 26 ++------------------------ 2 files changed, 4 insertions(+), 28 deletions(-) commit 7689bc30b964c7f885f47396f328d933598b9b4c Merge: e809507 0f684ac Author: Pieter Hintjens Date: Mon Jan 18 12:47:33 2016 +0100 Merge pull request #89 from minrk/stdint.h don't include stdint.h on msc < 1600 commit 0f684ac16c18ada5553c219423ba977753365e40 Author: Min RK Date: Mon Jan 18 12:30:05 2016 +0100 don't include stdint.h on msc < 1600 where stdint.h is unavailable (see stdint.hpp for the same check) include/zmq.h | 10 ++++++++++ 1 file changed, 10 insertions(+) commit e8095071d91f870131a6e53de650d628e709db3b Merge: 6933dff f13d4f1 Author: Pieter Hintjens Date: Mon Jan 18 11:14:08 2016 +0100 Merge pull request #88 from minrk/tweetnacl tweetnacl in sdists commit f13d4f1d04c8dd1c99e8ef94e5952dd174c6ff9d Author: Min RK Date: Mon Jan 18 10:39:37 2016 +0100 add windows randombytes implementation backport zeromq/libzmq#1619 .gitignore | 148 +++ .hgeol | 2 + .travis.yml | 35 + AUTHORS | 138 +++ CMakeLists.txt | 862 ++++++++++++++ COPYING | 674 +++++++++++ COPYING.LESSER | 181 +++ Dockerfile | 11 + INSTALL | 246 ++++ MAINTAINERS | 56 + Makefile.am | 638 ++++++++++ NEWS | 1066 +++++++++++++++++ README.md | 55 + acinclude.m4 | 930 +++++++++++++++ autogen.sh | 49 + branding.bmp | Bin 0 -> 25818 bytes builds/cmake/Modules/FindAsciiDoc.cmake | 27 + builds/cmake/Modules/TestZMQVersion.cmake | 9 + builds/cmake/Modules/ZMQSourceRunChecks.cmake | 129 +++ builds/cmake/NSIS.template32.in | 952 +++++++++++++++ builds/cmake/NSIS.template64.in | 960 +++++++++++++++ builds/cmake/platform.hpp.in | 90 ++ builds/mingw32/Makefile.mingw32 | 47 + builds/mingw32/platform.hpp | 41 + builds/msvc/Makefile.am | 103 ++ builds/msvc/build/buildall.bat | 10 + builds/msvc/build/buildbase.bat | 69 ++ builds/msvc/errno.cpp | 32 + builds/msvc/errno.hpp | 56 + builds/msvc/platform.hpp | 41 + builds/msvc/properties/Common.props | 21 + builds/msvc/properties/DLL.props | 16 + builds/msvc/properties/Debug.props | 29 + builds/msvc/properties/DebugDEXE.props | 21 + builds/msvc/properties/DebugDLL.props | 20 + builds/msvc/properties/DebugLEXE.props | 20 + builds/msvc/properties/DebugLIB.props | 21 + builds/msvc/properties/DebugLTCG.props | 20 + builds/msvc/properties/DebugSEXE.props | 21 + builds/msvc/properties/EXE.props | 17 + builds/msvc/properties/LIB.props | 16 + builds/msvc/properties/LTCG.props | 13 + builds/msvc/properties/Link.props | 21 + builds/msvc/properties/Messages.props | 15 + builds/msvc/properties/Output.props | 30 + builds/msvc/properties/Release.props | 41 + builds/msvc/properties/ReleaseDEXE.props | 20 + builds/msvc/properties/ReleaseDLL.props | 19 + builds/msvc/properties/ReleaseLEXE.props | 20 + builds/msvc/properties/ReleaseLIB.props | 19 + builds/msvc/properties/ReleaseLTCG.props | 19 + builds/msvc/properties/ReleaseSEXE.props | 20 + builds/msvc/properties/Win32.props | 20 + builds/msvc/properties/x64.props | 23 + builds/msvc/readme.txt | 14 + builds/msvc/resource.h | 14 + builds/msvc/resource.rc | Bin 0 -> 4642 bytes builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj | 52 + builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj | 52 + builds/msvc/vs2008/libzmq.sln | 95 ++ builds/msvc/vs2008/libzmq/libzmq.vcproj | 263 +++++ builds/msvc/vs2008/local_lat/local_lat.vcproj | 52 + builds/msvc/vs2008/local_thr/local_thr.vcproj | 52 + builds/msvc/vs2008/remote_lat/remote_lat.vcproj | 52 + builds/msvc/vs2008/remote_thr/remote_thr.vcproj | 52 + builds/msvc/vs2010/inproc_lat/inproc_lat.props | 48 + builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj | 79 ++ builds/msvc/vs2010/inproc_thr/inproc_thr.props | 48 + builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj | 79 ++ builds/msvc/vs2010/libsodium.import.props | 52 + builds/msvc/vs2010/libsodium.import.xml | 17 + builds/msvc/vs2010/libzmq.import.props | 66 ++ builds/msvc/vs2010/libzmq.import.xml | 38 + builds/msvc/vs2010/libzmq.sln | 206 ++++ builds/msvc/vs2010/libzmq/libzmq.props | 69 ++ builds/msvc/vs2010/libzmq/libzmq.vcxproj | 250 ++++ builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters | 540 +++++++++ builds/msvc/vs2010/libzmq/libzmq.xml | 25 + builds/msvc/vs2010/local_lat/local_lat.props | 48 + builds/msvc/vs2010/local_lat/local_lat.vcxproj | 79 ++ builds/msvc/vs2010/local_thr/local_thr.props | 48 + builds/msvc/vs2010/local_thr/local_thr.vcxproj | 83 ++ builds/msvc/vs2010/remote_lat/remote_lat.props | 48 + builds/msvc/vs2010/remote_lat/remote_lat.vcxproj | 83 ++ builds/msvc/vs2010/remote_thr/remote_thr.props | 48 + builds/msvc/vs2010/remote_thr/remote_thr.vcxproj | 79 ++ builds/msvc/vs2012/inproc_lat/inproc_lat.props | 48 + builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj | 79 ++ builds/msvc/vs2012/inproc_thr/inproc_thr.props | 48 + builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj | 79 ++ builds/msvc/vs2012/libsodium.import.props | 52 + builds/msvc/vs2012/libsodium.import.xml | 17 + builds/msvc/vs2012/libzmq.import.props | 66 ++ builds/msvc/vs2012/libzmq.import.xml | 38 + builds/msvc/vs2012/libzmq.sln | 206 ++++ builds/msvc/vs2012/libzmq/libzmq.props | 69 ++ builds/msvc/vs2012/libzmq/libzmq.vcxproj | 250 ++++ builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters | 540 +++++++++ builds/msvc/vs2012/libzmq/libzmq.xml | 25 + builds/msvc/vs2012/local_lat/local_lat.props | 48 + builds/msvc/vs2012/local_lat/local_lat.vcxproj | 79 ++ builds/msvc/vs2012/local_thr/local_thr.props | 48 + builds/msvc/vs2012/local_thr/local_thr.vcxproj | 83 ++ builds/msvc/vs2012/remote_lat/remote_lat.props | 48 + builds/msvc/vs2012/remote_lat/remote_lat.vcxproj | 83 ++ builds/msvc/vs2012/remote_thr/remote_thr.props | 48 + builds/msvc/vs2012/remote_thr/remote_thr.vcxproj | 79 ++ builds/msvc/vs2013/inproc_lat/inproc_lat.props | 48 + builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj | 79 ++ builds/msvc/vs2013/inproc_thr/inproc_thr.props | 48 + builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj | 79 ++ builds/msvc/vs2013/libsodium.import.props | 52 + builds/msvc/vs2013/libsodium.import.xml | 17 + builds/msvc/vs2013/libzmq.import.props | 66 ++ builds/msvc/vs2013/libzmq.import.xml | 38 + builds/msvc/vs2013/libzmq.sln | 208 ++++ builds/msvc/vs2013/libzmq/libzmq.props | 69 ++ builds/msvc/vs2013/libzmq/libzmq.vcxproj | 250 ++++ builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters | 540 +++++++++ builds/msvc/vs2013/libzmq/libzmq.xml | 25 + builds/msvc/vs2013/local_lat/local_lat.props | 48 + builds/msvc/vs2013/local_lat/local_lat.vcxproj | 79 ++ builds/msvc/vs2013/local_thr/local_thr.props | 48 + builds/msvc/vs2013/local_thr/local_thr.vcxproj | 83 ++ builds/msvc/vs2013/remote_lat/remote_lat.props | 48 + builds/msvc/vs2013/remote_lat/remote_lat.vcxproj | 83 ++ builds/msvc/vs2013/remote_thr/remote_thr.props | 48 + builds/msvc/vs2013/remote_thr/remote_thr.vcxproj | 79 ++ builds/nuget/libzmq.autopkg | 52 + builds/nuget/readme.nuget | 20 + builds/redhat/zeromq.spec.in | 200 ++++ builds/valgrind/valgrind.supp | 14 + builds/valgrind/vg | 1 + builds/zos/README.md | 463 ++++++++ builds/zos/cxxall | 62 + builds/zos/makeclean | 36 + builds/zos/makelibzmq | 54 + builds/zos/maketests | 102 ++ builds/zos/platform.hpp | 300 +++++ builds/zos/runtests | 188 +++ builds/zos/test_fork.cpp | 95 ++ builds/zos/zc++ | 42 + configure.ac | 542 +++++++++ doc/Makefile.am | 54 + doc/asciidoc.conf | 56 + doc/zmq.txt | 253 ++++ doc/zmq_bind.txt | 102 ++ doc/zmq_close.txt | 52 + doc/zmq_connect.txt | 100 ++ doc/zmq_ctx_destroy.txt | 67 ++ doc/zmq_ctx_get.txt | 77 ++ doc/zmq_ctx_new.txt | 50 + doc/zmq_ctx_set.txt | 110 ++ doc/zmq_ctx_shutdown.txt | 52 + doc/zmq_ctx_term.txt | 76 ++ doc/zmq_curve.txt | 92 ++ doc/zmq_curve_keypair.txt | 56 + doc/zmq_disconnect.txt | 75 ++ doc/zmq_errno.txt | 50 + doc/zmq_getsockopt.txt | 723 ++++++++++++ doc/zmq_gssapi.txt | 57 + doc/zmq_has.txt | 43 + doc/zmq_init.txt | 52 + doc/zmq_inproc.txt | 85 ++ doc/zmq_ipc.txt | 105 ++ doc/zmq_msg_close.txt | 56 + doc/zmq_msg_copy.txt | 72 ++ doc/zmq_msg_data.txt | 48 + doc/zmq_msg_get.txt | 83 ++ doc/zmq_msg_gets.txt | 75 ++ doc/zmq_msg_init.txt | 64 + doc/zmq_msg_init_data.txt | 89 ++ doc/zmq_msg_init_size.txt | 58 + doc/zmq_msg_more.txt | 65 ++ doc/zmq_msg_move.txt | 52 + doc/zmq_msg_recv.txt | 124 ++ doc/zmq_msg_send.txt | 125 ++ doc/zmq_msg_set.txt | 46 + doc/zmq_msg_size.txt | 48 + doc/zmq_null.txt | 27 + doc/zmq_pgm.txt | 163 +++ doc/zmq_plain.txt | 37 + doc/zmq_poll.txt | 128 ++ doc/zmq_proxy.txt | 98 ++ doc/zmq_proxy_steerable.txt | 98 ++ doc/zmq_recv.txt | 90 ++ doc/zmq_recvmsg.txt | 121 ++ doc/zmq_send.txt | 102 ++ doc/zmq_send_const.txt | 103 ++ doc/zmq_sendmsg.txt | 119 ++ doc/zmq_setsockopt.txt | 956 +++++++++++++++ doc/zmq_socket.txt | 455 ++++++++ doc/zmq_socket_monitor.txt | 239 ++++ doc/zmq_strerror.txt | 56 + doc/zmq_tcp.txt | 117 ++ doc/zmq_term.txt | 66 ++ doc/zmq_tipc.txt | 82 ++ doc/zmq_unbind.txt | 88 ++ doc/zmq_version.txt | 54 + doc/zmq_z85_decode.txt | 50 + doc/zmq_z85_encode.txt | 57 + include/zmq.h | 463 ++++++++ include/zmq_utils.h | 20 + installer.ico | Bin 0 -> 2842 bytes packaging/nuget/package.bat | 13 + packaging/nuget/package.config | 6 + packaging/nuget/package.gsl | 265 +++++ packaging/nuget/package.nuspec | 99 ++ packaging/nuget/package.targets | 130 +++ packaging/nuget/package.xml | 22 + perf/inproc_lat.cpp | 241 ++++ perf/inproc_thr.cpp | 251 ++++ perf/local_lat.cpp | 117 ++ perf/local_thr.cpp | 141 +++ perf/remote_lat.cpp | 130 +++ perf/remote_thr.cpp | 108 ++ src/address.cpp | 105 ++ src/address.hpp | 67 ++ src/array.hpp | 163 +++ src/atomic_counter.hpp | 215 ++++ src/atomic_ptr.hpp | 212 ++++ src/blob.hpp | 139 +++ src/clock.cpp | 210 ++++ src/clock.hpp | 69 ++ src/command.hpp | 163 +++ src/config.hpp | 97 ++ src/ctx.cpp | 567 +++++++++ src/ctx.hpp | 223 ++++ src/curve_client.cpp | 460 ++++++++ src/curve_client.hpp | 129 +++ src/curve_server.cpp | 730 ++++++++++++ src/curve_server.hpp | 138 +++ src/dbuffer.hpp | 144 +++ src/dealer.cpp | 141 +++ src/dealer.hpp | 89 ++ src/decoder.hpp | 183 +++ src/devpoll.cpp | 204 ++++ src/devpoll.hpp | 119 ++ src/dist.cpp | 216 ++++ src/dist.hpp | 117 ++ src/encoder.hpp | 185 +++ src/epoll.cpp | 192 +++ src/epoll.hpp | 115 ++ src/err.cpp | 386 +++++++ src/err.hpp | 168 +++ src/fd.hpp | 54 + src/fq.cpp | 162 +++ src/fq.hpp | 92 ++ src/gssapi_client.cpp | 230 ++++ src/gssapi_client.hpp | 93 ++ src/gssapi_mechanism_base.cpp | 347 ++++++ src/gssapi_mechanism_base.hpp | 132 +++ src/gssapi_server.cpp | 377 ++++++ src/gssapi_server.hpp | 96 ++ src/i_decoder.hpp | 61 + src/i_encoder.hpp | 60 + src/i_engine.hpp | 65 ++ src/i_poll_events.hpp | 55 + src/io_object.cpp | 116 ++ src/io_object.hpp | 89 ++ src/io_thread.cpp | 112 ++ src/io_thread.hpp | 99 ++ src/ip.cpp | 176 +++ src/ip.hpp | 57 + src/ipc_address.cpp | 105 ++ src/ipc_address.hpp | 76 ++ src/ipc_connecter.cpp | 275 +++++ src/ipc_connecter.hpp | 137 +++ src/ipc_listener.cpp | 315 +++++ src/ipc_listener.hpp | 114 ++ src/kqueue.cpp | 225 ++++ src/kqueue.hpp | 127 ++ src/lb.cpp | 160 +++ src/lb.hpp | 88 ++ src/libzmq.pc.cmake.in | 10 + src/libzmq.pc.in | 10 + src/libzmq.vers | 4 + src/likely.hpp | 42 + src/mailbox.cpp | 96 ++ src/mailbox.hpp | 90 ++ src/mechanism.cpp | 194 ++++ src/mechanism.hpp | 139 +++ src/metadata.cpp | 59 + src/metadata.hpp | 70 ++ src/msg.cpp | 389 +++++++ src/msg.hpp | 187 +++ src/mtrie.cpp | 440 +++++++ src/mtrie.hpp | 101 ++ src/mutex.hpp | 167 +++ src/norm_engine.cpp | 728 ++++++++++++ src/norm_engine.hpp | 188 +++ src/null_mechanism.cpp | 358 ++++++ src/null_mechanism.hpp | 84 ++ src/object.cpp | 437 +++++++ src/object.hpp | 152 +++ src/options.cpp | 864 ++++++++++++++ src/options.hpp | 195 ++++ src/own.cpp | 215 ++++ src/own.hpp | 154 +++ src/pair.cpp | 141 +++ src/pair.hpp | 78 ++ src/pgm_receiver.cpp | 306 +++++ src/pgm_receiver.hpp | 152 +++ src/pgm_sender.cpp | 249 ++++ src/pgm_sender.hpp | 129 +++ src/pgm_socket.cpp | 716 ++++++++++++ src/pgm_socket.hpp | 131 +++ src/pipe.cpp | 519 +++++++++ src/pipe.hpp | 233 ++++ src/plain_client.cpp | 222 ++++ src/plain_client.hpp | 79 ++ src/plain_server.cpp | 440 +++++++ src/plain_server.hpp | 93 ++ src/poll.cpp | 190 +++ src/poll.hpp | 119 ++ src/poller.hpp | 61 + src/poller_base.cpp | 109 ++ src/poller_base.hpp | 95 ++ src/precompiled.cpp | 30 + src/precompiled.hpp | 56 + src/proxy.cpp | 203 ++++ src/proxy.hpp | 42 + src/pub.cpp | 66 ++ src/pub.hpp | 63 + src/pull.cpp | 77 ++ src/pull.hpp | 75 ++ src/push.cpp | 75 ++ src/push.hpp | 73 ++ src/random.cpp | 61 + src/random.hpp | 46 + src/raw_decoder.cpp | 73 ++ src/raw_decoder.hpp | 76 ++ src/raw_encoder.cpp | 50 + src/raw_encoder.hpp | 70 ++ src/reaper.cpp | 137 +++ src/reaper.hpp | 94 ++ src/rep.cpp | 133 +++ src/rep.hpp | 73 ++ src/req.cpp | 289 +++++ src/req.hpp | 120 ++ src/router.cpp | 479 ++++++++ src/router.hpp | 140 +++ src/select.cpp | 234 ++++ src/select.hpp | 140 +++ src/session_base.cpp | 627 ++++++++++ src/session_base.hpp | 172 +++ src/signaler.cpp | 568 +++++++++ src/signaler.hpp | 90 ++ src/socket_base.cpp | 1346 ++++++++++++++++++++++ src/socket_base.hpp | 278 +++++ src/socks.cpp | 283 +++++ src/socks.hpp | 135 +++ src/socks_connecter.cpp | 478 ++++++++ src/socks_connecter.hpp | 164 +++ src/stdint.hpp | 72 ++ src/stream.cpp | 307 +++++ src/stream.hpp | 107 ++ src/stream_engine.cpp | 960 +++++++++++++++ src/stream_engine.hpp | 218 ++++ src/sub.cpp | 90 ++ src/sub.hpp | 64 + src/tcp.cpp | 252 ++++ src/tcp.hpp | 62 + src/tcp_address.cpp | 694 +++++++++++ src/tcp_address.hpp | 116 ++ src/tcp_connecter.cpp | 367 ++++++ src/tcp_connecter.hpp | 131 +++ src/tcp_listener.cpp | 333 ++++++ src/tcp_listener.hpp | 99 ++ src/thread.cpp | 144 +++ src/thread.hpp | 91 ++ src/tipc_address.cpp | 117 ++ src/tipc_address.hpp | 75 ++ src/tipc_connecter.cpp | 266 +++++ src/tipc_connecter.hpp | 137 +++ src/tipc_listener.cpp | 188 +++ src/tipc_listener.hpp | 107 ++ src/trie.cpp | 344 ++++++ src/trie.hpp | 86 ++ src/v1_decoder.cpp | 158 +++ src/v1_decoder.hpp | 67 ++ src/v1_encoder.cpp | 75 ++ src/v1_encoder.hpp | 59 + src/v2_decoder.cpp | 152 +++ src/v2_decoder.hpp | 67 ++ src/v2_encoder.cpp | 77 ++ src/v2_encoder.hpp | 59 + src/v2_protocol.hpp | 49 + src/version.rc.in | 93 ++ src/windows.hpp | 84 ++ src/wire.hpp | 108 ++ src/xpub.cpp | 207 ++++ src/xpub.hpp | 107 ++ src/xsub.cpp | 243 ++++ src/xsub.hpp | 103 ++ src/ypipe.hpp | 219 ++++ src/ypipe_base.hpp | 54 + src/ypipe_conflate.hpp | 137 +++ src/yqueue.hpp | 205 ++++ src/zmq.cpp | 1095 ++++++++++++++++++ src/zmq_utils.cpp | 216 ++++ tests/CMakeLists.txt | 86 ++ tests/test_abstract_ipc.cpp | 67 ++ tests/test_bind_src_address.cpp | 57 + tests/test_capabilities.cpp | 71 ++ tests/test_conflate.cpp | 82 ++ tests/test_connect_delay_tipc.cpp | 248 ++++ tests/test_connect_resolve.cpp | 70 ++ tests/test_connect_rid.cpp | 194 ++++ tests/test_ctx_destroy.cpp | 100 ++ tests/test_ctx_options.cpp | 69 ++ tests/test_diffserv.cpp | 80 ++ tests/test_disconnect_inproc.cpp | 135 +++ tests/test_filter_ipc.cpp | 171 +++ tests/test_fork.cpp | 91 ++ tests/test_getsockopt_memset.cpp | 69 ++ tests/test_hwm.cpp | 309 +++++ tests/test_hwm_pubsub.cpp | 171 +++ tests/test_id2fd.cpp | 97 ++ tests/test_immediate.cpp | 238 ++++ tests/test_inproc_connect.cpp | 489 ++++++++ tests/test_invalid_rep.cpp | 98 ++ tests/test_iov.cpp | 116 ++ tests/test_ipc_wildcard.cpp | 65 ++ tests/test_issue_566.cpp | 95 ++ tests/test_last_endpoint.cpp | 66 ++ tests/test_many_sockets.cpp | 100 ++ tests/test_metadata.cpp | 129 +++ tests/test_monitor.cpp | 138 +++ tests/test_msg_flags.cpp | 127 ++ tests/test_pair_inproc.cpp | 81 ++ tests/test_pair_ipc.cpp | 60 + tests/test_pair_tcp.cpp | 60 + tests/test_pair_tipc.cpp | 64 + tests/test_probe_router.cpp | 82 ++ tests/test_proxy.cpp | 261 +++++ tests/test_proxy_single_socket.cpp | 113 ++ tests/test_proxy_terminate.cpp | 123 ++ tests/test_req_correlate.cpp | 187 +++ tests/test_req_relaxed.cpp | 126 ++ tests/test_reqrep_device.cpp | 145 +++ tests/test_reqrep_device_tipc.cpp | 153 +++ tests/test_reqrep_inproc.cpp | 60 + tests/test_reqrep_ipc.cpp | 60 + tests/test_reqrep_tcp.cpp | 60 + tests/test_reqrep_tipc.cpp | 64 + tests/test_router_handover.cpp | 111 ++ tests/test_router_mandatory.cpp | 91 ++ tests/test_router_mandatory_hwm.cpp | 126 ++ tests/test_router_mandatory_tipc.cpp | 72 ++ tests/test_security_curve.cpp | 291 +++++ tests/test_security_null.cpp | 187 +++ tests/test_security_plain.cpp | 195 ++++ tests/test_shutdown_stress.cpp | 90 ++ tests/test_shutdown_stress_tipc.cpp | 103 ++ tests/test_spec_dealer.cpp | 264 +++++ tests/test_spec_pushpull.cpp | 303 +++++ tests/test_spec_rep.cpp | 165 +++ tests/test_spec_req.cpp | 263 +++++ tests/test_spec_router.cpp | 214 ++++ tests/test_srcfd.cpp | 109 ++ tests/test_stream.cpp | 292 +++++ tests/test_stream_disconnect.cpp | 268 +++++ tests/test_stream_empty.cpp | 70 ++ tests/test_stream_timeout.cpp | 226 ++++ tests/test_sub_forward.cpp | 101 ++ tests/test_sub_forward_tipc.cpp | 111 ++ tests/test_system.cpp | 99 ++ tests/test_term_endpoint.cpp | 167 +++ tests/test_term_endpoint_tipc.cpp | 130 +++ tests/test_timeo.cpp | 85 ++ tests/test_unbind_inproc.cpp | 43 + tests/test_unbind_wildcard.cpp | 48 + tests/test_xpub_nodrop.cpp | 116 ++ tests/testutil.hpp | 303 +++++ tools/curve_keygen.cpp | 58 + tweetnacl/contrib/randombytes/devurandom.c | 44 + tweetnacl/contrib/randombytes/randombytes.h | 21 + tweetnacl/contrib/randombytes/winrandom.c | 43 + tweetnacl/src/tweetnacl.c | 818 +++++++++++++ tweetnacl/src/tweetnacl.h | 273 +++++ tweetnacl/src/tweetnacl_base.h | 41 + version.sh | 21 + 483 files changed, 72975 insertions(+) commit 6933dfff58881c4c98a1e38e2c3689ac2874f39d Author: Pieter Hintjens Date: Thu Jan 14 15:15:55 2016 +0100 Merge pull request #87 from GreatFruitOmsk/master Backport #1702 .gitignore | 148 +++ .hgeol | 2 + .travis.yml | 35 + AUTHORS | 138 +++ CMakeLists.txt | 861 ++++++++++++++ COPYING | 674 +++++++++++ COPYING.LESSER | 181 +++ Dockerfile | 11 + INSTALL | 246 ++++ MAINTAINERS | 56 + Makefile.am | 637 ++++++++++ NEWS | 1066 +++++++++++++++++ README.md | 55 + acinclude.m4 | 930 +++++++++++++++ autogen.sh | 49 + branding.bmp | Bin 0 -> 25818 bytes builds/cmake/Modules/FindAsciiDoc.cmake | 27 + builds/cmake/Modules/TestZMQVersion.cmake | 9 + builds/cmake/Modules/ZMQSourceRunChecks.cmake | 129 +++ builds/cmake/NSIS.template32.in | 952 +++++++++++++++ builds/cmake/NSIS.template64.in | 960 +++++++++++++++ builds/cmake/platform.hpp.in | 90 ++ builds/mingw32/Makefile.mingw32 | 47 + builds/mingw32/platform.hpp | 41 + builds/msvc/Makefile.am | 103 ++ builds/msvc/build/buildall.bat | 10 + builds/msvc/build/buildbase.bat | 69 ++ builds/msvc/errno.cpp | 32 + builds/msvc/errno.hpp | 56 + builds/msvc/platform.hpp | 41 + builds/msvc/properties/Common.props | 21 + builds/msvc/properties/DLL.props | 16 + builds/msvc/properties/Debug.props | 29 + builds/msvc/properties/DebugDEXE.props | 21 + builds/msvc/properties/DebugDLL.props | 20 + builds/msvc/properties/DebugLEXE.props | 20 + builds/msvc/properties/DebugLIB.props | 21 + builds/msvc/properties/DebugLTCG.props | 20 + builds/msvc/properties/DebugSEXE.props | 21 + builds/msvc/properties/EXE.props | 17 + builds/msvc/properties/LIB.props | 16 + builds/msvc/properties/LTCG.props | 13 + builds/msvc/properties/Link.props | 21 + builds/msvc/properties/Messages.props | 15 + builds/msvc/properties/Output.props | 30 + builds/msvc/properties/Release.props | 41 + builds/msvc/properties/ReleaseDEXE.props | 20 + builds/msvc/properties/ReleaseDLL.props | 19 + builds/msvc/properties/ReleaseLEXE.props | 20 + builds/msvc/properties/ReleaseLIB.props | 19 + builds/msvc/properties/ReleaseLTCG.props | 19 + builds/msvc/properties/ReleaseSEXE.props | 20 + builds/msvc/properties/Win32.props | 20 + builds/msvc/properties/x64.props | 23 + builds/msvc/readme.txt | 14 + builds/msvc/resource.h | 14 + builds/msvc/resource.rc | Bin 0 -> 4642 bytes builds/msvc/vs2008/inproc_lat/inproc_lat.vcproj | 52 + builds/msvc/vs2008/inproc_thr/inproc_thr.vcproj | 52 + builds/msvc/vs2008/libzmq.sln | 95 ++ builds/msvc/vs2008/libzmq/libzmq.vcproj | 263 +++++ builds/msvc/vs2008/local_lat/local_lat.vcproj | 52 + builds/msvc/vs2008/local_thr/local_thr.vcproj | 52 + builds/msvc/vs2008/remote_lat/remote_lat.vcproj | 52 + builds/msvc/vs2008/remote_thr/remote_thr.vcproj | 52 + builds/msvc/vs2010/inproc_lat/inproc_lat.props | 48 + builds/msvc/vs2010/inproc_lat/inproc_lat.vcxproj | 79 ++ builds/msvc/vs2010/inproc_thr/inproc_thr.props | 48 + builds/msvc/vs2010/inproc_thr/inproc_thr.vcxproj | 79 ++ builds/msvc/vs2010/libsodium.import.props | 52 + builds/msvc/vs2010/libsodium.import.xml | 17 + builds/msvc/vs2010/libzmq.import.props | 66 ++ builds/msvc/vs2010/libzmq.import.xml | 38 + builds/msvc/vs2010/libzmq.sln | 206 ++++ builds/msvc/vs2010/libzmq/libzmq.props | 69 ++ builds/msvc/vs2010/libzmq/libzmq.vcxproj | 250 ++++ builds/msvc/vs2010/libzmq/libzmq.vcxproj.filters | 540 +++++++++ builds/msvc/vs2010/libzmq/libzmq.xml | 25 + builds/msvc/vs2010/local_lat/local_lat.props | 48 + builds/msvc/vs2010/local_lat/local_lat.vcxproj | 79 ++ builds/msvc/vs2010/local_thr/local_thr.props | 48 + builds/msvc/vs2010/local_thr/local_thr.vcxproj | 83 ++ builds/msvc/vs2010/remote_lat/remote_lat.props | 48 + builds/msvc/vs2010/remote_lat/remote_lat.vcxproj | 83 ++ builds/msvc/vs2010/remote_thr/remote_thr.props | 48 + builds/msvc/vs2010/remote_thr/remote_thr.vcxproj | 79 ++ builds/msvc/vs2012/inproc_lat/inproc_lat.props | 48 + builds/msvc/vs2012/inproc_lat/inproc_lat.vcxproj | 79 ++ builds/msvc/vs2012/inproc_thr/inproc_thr.props | 48 + builds/msvc/vs2012/inproc_thr/inproc_thr.vcxproj | 79 ++ builds/msvc/vs2012/libsodium.import.props | 52 + builds/msvc/vs2012/libsodium.import.xml | 17 + builds/msvc/vs2012/libzmq.import.props | 66 ++ builds/msvc/vs2012/libzmq.import.xml | 38 + builds/msvc/vs2012/libzmq.sln | 206 ++++ builds/msvc/vs2012/libzmq/libzmq.props | 69 ++ builds/msvc/vs2012/libzmq/libzmq.vcxproj | 250 ++++ builds/msvc/vs2012/libzmq/libzmq.vcxproj.filters | 540 +++++++++ builds/msvc/vs2012/libzmq/libzmq.xml | 25 + builds/msvc/vs2012/local_lat/local_lat.props | 48 + builds/msvc/vs2012/local_lat/local_lat.vcxproj | 79 ++ builds/msvc/vs2012/local_thr/local_thr.props | 48 + builds/msvc/vs2012/local_thr/local_thr.vcxproj | 83 ++ builds/msvc/vs2012/remote_lat/remote_lat.props | 48 + builds/msvc/vs2012/remote_lat/remote_lat.vcxproj | 83 ++ builds/msvc/vs2012/remote_thr/remote_thr.props | 48 + builds/msvc/vs2012/remote_thr/remote_thr.vcxproj | 79 ++ builds/msvc/vs2013/inproc_lat/inproc_lat.props | 48 + builds/msvc/vs2013/inproc_lat/inproc_lat.vcxproj | 79 ++ builds/msvc/vs2013/inproc_thr/inproc_thr.props | 48 + builds/msvc/vs2013/inproc_thr/inproc_thr.vcxproj | 79 ++ builds/msvc/vs2013/libsodium.import.props | 52 + builds/msvc/vs2013/libsodium.import.xml | 17 + builds/msvc/vs2013/libzmq.import.props | 66 ++ builds/msvc/vs2013/libzmq.import.xml | 38 + builds/msvc/vs2013/libzmq.sln | 208 ++++ builds/msvc/vs2013/libzmq/libzmq.props | 69 ++ builds/msvc/vs2013/libzmq/libzmq.vcxproj | 250 ++++ builds/msvc/vs2013/libzmq/libzmq.vcxproj.filters | 540 +++++++++ builds/msvc/vs2013/libzmq/libzmq.xml | 25 + builds/msvc/vs2013/local_lat/local_lat.props | 48 + builds/msvc/vs2013/local_lat/local_lat.vcxproj | 79 ++ builds/msvc/vs2013/local_thr/local_thr.props | 48 + builds/msvc/vs2013/local_thr/local_thr.vcxproj | 83 ++ builds/msvc/vs2013/remote_lat/remote_lat.props | 48 + builds/msvc/vs2013/remote_lat/remote_lat.vcxproj | 83 ++ builds/msvc/vs2013/remote_thr/remote_thr.props | 48 + builds/msvc/vs2013/remote_thr/remote_thr.vcxproj | 79 ++ builds/nuget/libzmq.autopkg | 52 + builds/nuget/readme.nuget | 20 + builds/redhat/zeromq.spec.in | 200 ++++ builds/valgrind/valgrind.supp | 14 + builds/valgrind/vg | 1 + builds/zos/README.md | 463 ++++++++ builds/zos/cxxall | 62 + builds/zos/makeclean | 36 + builds/zos/makelibzmq | 54 + builds/zos/maketests | 102 ++ builds/zos/platform.hpp | 300 +++++ builds/zos/runtests | 188 +++ builds/zos/test_fork.cpp | 95 ++ builds/zos/zc++ | 42 + configure.ac | 542 +++++++++ doc/Makefile.am | 54 + doc/asciidoc.conf | 56 + doc/zmq.txt | 253 ++++ doc/zmq_bind.txt | 102 ++ doc/zmq_close.txt | 52 + doc/zmq_connect.txt | 100 ++ doc/zmq_ctx_destroy.txt | 67 ++ doc/zmq_ctx_get.txt | 77 ++ doc/zmq_ctx_new.txt | 50 + doc/zmq_ctx_set.txt | 110 ++ doc/zmq_ctx_shutdown.txt | 52 + doc/zmq_ctx_term.txt | 76 ++ doc/zmq_curve.txt | 92 ++ doc/zmq_curve_keypair.txt | 56 + doc/zmq_disconnect.txt | 75 ++ doc/zmq_errno.txt | 50 + doc/zmq_getsockopt.txt | 723 ++++++++++++ doc/zmq_gssapi.txt | 57 + doc/zmq_has.txt | 43 + doc/zmq_init.txt | 52 + doc/zmq_inproc.txt | 85 ++ doc/zmq_ipc.txt | 105 ++ doc/zmq_msg_close.txt | 56 + doc/zmq_msg_copy.txt | 72 ++ doc/zmq_msg_data.txt | 48 + doc/zmq_msg_get.txt | 83 ++ doc/zmq_msg_gets.txt | 75 ++ doc/zmq_msg_init.txt | 64 + doc/zmq_msg_init_data.txt | 89 ++ doc/zmq_msg_init_size.txt | 58 + doc/zmq_msg_more.txt | 65 ++ doc/zmq_msg_move.txt | 52 + doc/zmq_msg_recv.txt | 124 ++ doc/zmq_msg_send.txt | 125 ++ doc/zmq_msg_set.txt | 46 + doc/zmq_msg_size.txt | 48 + doc/zmq_null.txt | 27 + doc/zmq_pgm.txt | 163 +++ doc/zmq_plain.txt | 37 + doc/zmq_poll.txt | 128 ++ doc/zmq_proxy.txt | 98 ++ doc/zmq_proxy_steerable.txt | 98 ++ doc/zmq_recv.txt | 90 ++ doc/zmq_recvmsg.txt | 121 ++ doc/zmq_send.txt | 102 ++ doc/zmq_send_const.txt | 103 ++ doc/zmq_sendmsg.txt | 119 ++ doc/zmq_setsockopt.txt | 956 +++++++++++++++ doc/zmq_socket.txt | 455 ++++++++ doc/zmq_socket_monitor.txt | 239 ++++ doc/zmq_strerror.txt | 56 + doc/zmq_tcp.txt | 117 ++ doc/zmq_term.txt | 66 ++ doc/zmq_tipc.txt | 82 ++ doc/zmq_unbind.txt | 88 ++ doc/zmq_version.txt | 54 + doc/zmq_z85_decode.txt | 50 + doc/zmq_z85_encode.txt | 57 + include/zmq.h | 463 ++++++++ include/zmq_utils.h | 20 + installer.ico | Bin 0 -> 2842 bytes packaging/nuget/package.bat | 13 + packaging/nuget/package.config | 6 + packaging/nuget/package.gsl | 265 +++++ packaging/nuget/package.nuspec | 99 ++ packaging/nuget/package.targets | 130 +++ packaging/nuget/package.xml | 22 + perf/inproc_lat.cpp | 241 ++++ perf/inproc_thr.cpp | 251 ++++ perf/local_lat.cpp | 117 ++ perf/local_thr.cpp | 141 +++ perf/remote_lat.cpp | 130 +++ perf/remote_thr.cpp | 108 ++ src/address.cpp | 105 ++ src/address.hpp | 67 ++ src/array.hpp | 163 +++ src/atomic_counter.hpp | 215 ++++ src/atomic_ptr.hpp | 212 ++++ src/blob.hpp | 139 +++ src/clock.cpp | 210 ++++ src/clock.hpp | 69 ++ src/command.hpp | 163 +++ src/config.hpp | 97 ++ src/ctx.cpp | 567 +++++++++ src/ctx.hpp | 223 ++++ src/curve_client.cpp | 460 ++++++++ src/curve_client.hpp | 129 +++ src/curve_server.cpp | 730 ++++++++++++ src/curve_server.hpp | 138 +++ src/dbuffer.hpp | 144 +++ src/dealer.cpp | 141 +++ src/dealer.hpp | 89 ++ src/decoder.hpp | 183 +++ src/devpoll.cpp | 204 ++++ src/devpoll.hpp | 119 ++ src/dist.cpp | 216 ++++ src/dist.hpp | 117 ++ src/encoder.hpp | 185 +++ src/epoll.cpp | 192 +++ src/epoll.hpp | 115 ++ src/err.cpp | 386 +++++++ src/err.hpp | 168 +++ src/fd.hpp | 54 + src/fq.cpp | 162 +++ src/fq.hpp | 92 ++ src/gssapi_client.cpp | 230 ++++ src/gssapi_client.hpp | 93 ++ src/gssapi_mechanism_base.cpp | 347 ++++++ src/gssapi_mechanism_base.hpp | 132 +++ src/gssapi_server.cpp | 377 ++++++ src/gssapi_server.hpp | 96 ++ src/i_decoder.hpp | 61 + src/i_encoder.hpp | 60 + src/i_engine.hpp | 65 ++ src/i_poll_events.hpp | 55 + src/io_object.cpp | 116 ++ src/io_object.hpp | 89 ++ src/io_thread.cpp | 112 ++ src/io_thread.hpp | 99 ++ src/ip.cpp | 176 +++ src/ip.hpp | 57 + src/ipc_address.cpp | 105 ++ src/ipc_address.hpp | 76 ++ src/ipc_connecter.cpp | 275 +++++ src/ipc_connecter.hpp | 137 +++ src/ipc_listener.cpp | 315 +++++ src/ipc_listener.hpp | 114 ++ src/kqueue.cpp | 225 ++++ src/kqueue.hpp | 127 ++ src/lb.cpp | 160 +++ src/lb.hpp | 88 ++ src/libzmq.pc.cmake.in | 10 + src/libzmq.pc.in | 10 + src/libzmq.vers | 4 + src/likely.hpp | 42 + src/mailbox.cpp | 96 ++ src/mailbox.hpp | 90 ++ src/mechanism.cpp | 194 ++++ src/mechanism.hpp | 139 +++ src/metadata.cpp | 59 + src/metadata.hpp | 70 ++ src/msg.cpp | 389 +++++++ src/msg.hpp | 187 +++ src/mtrie.cpp | 440 +++++++ src/mtrie.hpp | 101 ++ src/mutex.hpp | 167 +++ src/norm_engine.cpp | 728 ++++++++++++ src/norm_engine.hpp | 188 +++ src/null_mechanism.cpp | 358 ++++++ src/null_mechanism.hpp | 84 ++ src/object.cpp | 437 +++++++ src/object.hpp | 152 +++ src/options.cpp | 864 ++++++++++++++ src/options.hpp | 195 ++++ src/own.cpp | 215 ++++ src/own.hpp | 154 +++ src/pair.cpp | 141 +++ src/pair.hpp | 78 ++ src/pgm_receiver.cpp | 306 +++++ src/pgm_receiver.hpp | 152 +++ src/pgm_sender.cpp | 249 ++++ src/pgm_sender.hpp | 129 +++ src/pgm_socket.cpp | 716 ++++++++++++ src/pgm_socket.hpp | 131 +++ src/pipe.cpp | 519 +++++++++ src/pipe.hpp | 233 ++++ src/plain_client.cpp | 222 ++++ src/plain_client.hpp | 79 ++ src/plain_server.cpp | 440 +++++++ src/plain_server.hpp | 93 ++ src/poll.cpp | 190 +++ src/poll.hpp | 119 ++ src/poller.hpp | 61 + src/poller_base.cpp | 109 ++ src/poller_base.hpp | 95 ++ src/precompiled.cpp | 30 + src/precompiled.hpp | 56 + src/proxy.cpp | 203 ++++ src/proxy.hpp | 42 + src/pub.cpp | 66 ++ src/pub.hpp | 63 + src/pull.cpp | 77 ++ src/pull.hpp | 75 ++ src/push.cpp | 75 ++ src/push.hpp | 73 ++ src/random.cpp | 61 + src/random.hpp | 46 + src/raw_decoder.cpp | 73 ++ src/raw_decoder.hpp | 76 ++ src/raw_encoder.cpp | 50 + src/raw_encoder.hpp | 70 ++ src/reaper.cpp | 137 +++ src/reaper.hpp | 94 ++ src/rep.cpp | 133 +++ src/rep.hpp | 73 ++ src/req.cpp | 289 +++++ src/req.hpp | 120 ++ src/router.cpp | 479 ++++++++ src/router.hpp | 140 +++ src/select.cpp | 234 ++++ src/select.hpp | 140 +++ src/session_base.cpp | 627 ++++++++++ src/session_base.hpp | 172 +++ src/signaler.cpp | 568 +++++++++ src/signaler.hpp | 90 ++ src/socket_base.cpp | 1346 ++++++++++++++++++++++ src/socket_base.hpp | 278 +++++ src/socks.cpp | 283 +++++ src/socks.hpp | 135 +++ src/socks_connecter.cpp | 478 ++++++++ src/socks_connecter.hpp | 164 +++ src/stdint.hpp | 72 ++ src/stream.cpp | 307 +++++ src/stream.hpp | 107 ++ src/stream_engine.cpp | 960 +++++++++++++++ src/stream_engine.hpp | 218 ++++ src/sub.cpp | 90 ++ src/sub.hpp | 64 + src/tcp.cpp | 252 ++++ src/tcp.hpp | 62 + src/tcp_address.cpp | 694 +++++++++++ src/tcp_address.hpp | 116 ++ src/tcp_connecter.cpp | 367 ++++++ src/tcp_connecter.hpp | 131 +++ src/tcp_listener.cpp | 333 ++++++ src/tcp_listener.hpp | 99 ++ src/thread.cpp | 144 +++ src/thread.hpp | 91 ++ src/tipc_address.cpp | 117 ++ src/tipc_address.hpp | 75 ++ src/tipc_connecter.cpp | 266 +++++ src/tipc_connecter.hpp | 137 +++ src/tipc_listener.cpp | 188 +++ src/tipc_listener.hpp | 107 ++ src/trie.cpp | 344 ++++++ src/trie.hpp | 86 ++ src/v1_decoder.cpp | 158 +++ src/v1_decoder.hpp | 67 ++ src/v1_encoder.cpp | 75 ++ src/v1_encoder.hpp | 59 + src/v2_decoder.cpp | 152 +++ src/v2_decoder.hpp | 67 ++ src/v2_encoder.cpp | 77 ++ src/v2_encoder.hpp | 59 + src/v2_protocol.hpp | 49 + src/version.rc.in | 93 ++ src/windows.hpp | 84 ++ src/wire.hpp | 108 ++ src/xpub.cpp | 207 ++++ src/xpub.hpp | 107 ++ src/xsub.cpp | 243 ++++ src/xsub.hpp | 103 ++ src/ypipe.hpp | 219 ++++ src/ypipe_base.hpp | 54 + src/ypipe_conflate.hpp | 137 +++ src/yqueue.hpp | 205 ++++ src/zmq.cpp | 1095 ++++++++++++++++++ src/zmq_utils.cpp | 216 ++++ tests/CMakeLists.txt | 86 ++ tests/test_abstract_ipc.cpp | 67 ++ tests/test_bind_src_address.cpp | 57 + tests/test_capabilities.cpp | 71 ++ tests/test_conflate.cpp | 82 ++ tests/test_connect_delay_tipc.cpp | 248 ++++ tests/test_connect_resolve.cpp | 70 ++ tests/test_connect_rid.cpp | 194 ++++ tests/test_ctx_destroy.cpp | 100 ++ tests/test_ctx_options.cpp | 69 ++ tests/test_diffserv.cpp | 80 ++ tests/test_disconnect_inproc.cpp | 135 +++ tests/test_filter_ipc.cpp | 171 +++ tests/test_fork.cpp | 91 ++ tests/test_getsockopt_memset.cpp | 69 ++ tests/test_hwm.cpp | 309 +++++ tests/test_hwm_pubsub.cpp | 171 +++ tests/test_id2fd.cpp | 97 ++ tests/test_immediate.cpp | 238 ++++ tests/test_inproc_connect.cpp | 489 ++++++++ tests/test_invalid_rep.cpp | 98 ++ tests/test_iov.cpp | 116 ++ tests/test_ipc_wildcard.cpp | 65 ++ tests/test_issue_566.cpp | 95 ++ tests/test_last_endpoint.cpp | 66 ++ tests/test_many_sockets.cpp | 100 ++ tests/test_metadata.cpp | 129 +++ tests/test_monitor.cpp | 138 +++ tests/test_msg_flags.cpp | 127 ++ tests/test_pair_inproc.cpp | 81 ++ tests/test_pair_ipc.cpp | 60 + tests/test_pair_tcp.cpp | 60 + tests/test_pair_tipc.cpp | 64 + tests/test_probe_router.cpp | 82 ++ tests/test_proxy.cpp | 261 +++++ tests/test_proxy_single_socket.cpp | 113 ++ tests/test_proxy_terminate.cpp | 123 ++ tests/test_req_correlate.cpp | 187 +++ tests/test_req_relaxed.cpp | 126 ++ tests/test_reqrep_device.cpp | 145 +++ tests/test_reqrep_device_tipc.cpp | 153 +++ tests/test_reqrep_inproc.cpp | 60 + tests/test_reqrep_ipc.cpp | 60 + tests/test_reqrep_tcp.cpp | 60 + tests/test_reqrep_tipc.cpp | 64 + tests/test_router_handover.cpp | 111 ++ tests/test_router_mandatory.cpp | 91 ++ tests/test_router_mandatory_hwm.cpp | 126 ++ tests/test_router_mandatory_tipc.cpp | 72 ++ tests/test_security_curve.cpp | 291 +++++ tests/test_security_null.cpp | 187 +++ tests/test_security_plain.cpp | 195 ++++ tests/test_shutdown_stress.cpp | 90 ++ tests/test_shutdown_stress_tipc.cpp | 103 ++ tests/test_spec_dealer.cpp | 264 +++++ tests/test_spec_pushpull.cpp | 303 +++++ tests/test_spec_rep.cpp | 165 +++ tests/test_spec_req.cpp | 263 +++++ tests/test_spec_router.cpp | 214 ++++ tests/test_srcfd.cpp | 109 ++ tests/test_stream.cpp | 292 +++++ tests/test_stream_disconnect.cpp | 268 +++++ tests/test_stream_empty.cpp | 70 ++ tests/test_stream_timeout.cpp | 226 ++++ tests/test_sub_forward.cpp | 101 ++ tests/test_sub_forward_tipc.cpp | 111 ++ tests/test_system.cpp | 99 ++ tests/test_term_endpoint.cpp | 167 +++ tests/test_term_endpoint_tipc.cpp | 130 +++ tests/test_timeo.cpp | 85 ++ tests/test_unbind_inproc.cpp | 43 + tests/test_unbind_wildcard.cpp | 48 + tests/test_xpub_nodrop.cpp | 116 ++ tests/testutil.hpp | 303 +++++ tools/curve_keygen.cpp | 58 + tweetnacl/contrib/randombytes/devurandom.c | 44 + tweetnacl/contrib/randombytes/devurandom.h | 25 + tweetnacl/contrib/randombytes/randombytes.h | 5 + tweetnacl/src/tweetnacl.c | 818 +++++++++++++ tweetnacl/src/tweetnacl.h | 273 +++++ tweetnacl/src/tweetnacl_base.h | 41 + version.sh | 21 + 483 files changed, 72939 insertions(+) PK!ÇŒø•¶‡¶‡NEWSnu„[µü¤0MQ version 4.1.6 stable, released on 2016/11/01 ================================================ * Fixed #2051 - getifaddrs can fail with ECONNREFUSED * Fixed #2091 - testutil.hpp fails to build on Windows XP * Fixed #2096 - add tests/CMakeLists.in and version.rc.in to dist tar * Fixed #2107 - zmq_connect with IPv6 "source:port;dest:port" broken * Fixed #2117 - ctx_term assert with inproc zmq_router connect-before-bind * Fixed #2158 - Socket monitor uses internal Pair from multiple threads * Fixed #2161 - messages dropped due to HWM race * Fixed #1325 - alignment issue with zmq_msg_t causes SIGBUS on SPARC and ARM 0MQ version 4.1.5 stable, released on 2016/06/17 ================================================ * Fixed #1673 - CMake on Windows put PDB in wrong directory. * Fixed #1723 - Family is not set when resolving NIC on Android. * Fixed #1608 - Windows 7 TCP slow start issue. * Fixed #1806 - uninitialised read in curve getsockopt. * Fixed #1807 - build broken with GCC 6. * Fixed #1831 - potential assertion failure with latest libsodium. * Fixed #1850 - detection issues with tweetnacl/libsodium. * Fixed #1877 - Avoid terminating connections prematurely * Fixed #1887 - zmq_bind IPv4 fallback still tries IPv6 * Fixed #1866 - fails to build on SunOS 5.10 / Solaris 10 * Fixed #919 - ZMQ_LINGER (related to #1877) * Fixed #114 - cannot unbind with same endpoint with IPv6 enabled. * Fixed #1952 - CMake scripts not part of release tarballs * Fixed #1542 - Fix a crash on Windows when port 5905 is in use. * Fixed #2021 - Fix building on sparc32. 0MQ version 4.1.4 stable, released on 2015/12/18 ================================================ * Fixed #1315 - socket monitor hangs if bind/setsockopt failed. * Fixed #1399 - assertion failure in tcp.cpp after network reconnect. * Fixed #1632 - build failure using latest libsodium. * Fixed #1644 - assertion failure in msg.cpp:390 on STREAM sockets. * Fixed #1661 - does not handle IPv6 link local addresses. 0MQ version 4.1.3 stable, released on 2015/08/17 ================================================ * Fixed #1532 - getsockopt ZMQ_RCVMORE now resets all bits instead of only 32 * Fixed #1445 - zmq::socket_base_t::connect fails on tcp ipv6 address 0MQ version 4.1.2 stable, released on 2015/06/15 ================================================ * Added explicit reference to static link exception in every source file. * Bumped ABI version to 5:0:0 since 4.1.x changed the ABI. * Fixed STDINT event interface macros to work with CZMQ 3.0. * Fixed installation of man pages when BUILD_DOC is not set. * Fixed #1428 - regression on single-socket proxies. 0MQ version 4.1.1 stable, released on 2015/06/02 ================================================ * Fixed #1208 - fix recursion in automake packaging. * Fixed #1224 - crash when processing empty unsubscribe message. * Fixed #1213 - properties files were missing from source packages. * Fixed #1273 - V3 protocol handler vulnerable to downgrade attacks. * Fixed #1347 - lack way to get peer address. * Fixed #1362 - SUB socket sometimes fails to resubscribe properly. * Fixed #1377, #1144 - failed with WSANOTINITIALISED in some cases. * Fixed #1389 - PUB, PUSH sockets had slow memory leak. * Fixed #1382 - zmq_proxy did not terminate if there were no readers. 0MQ version 4.1.0 rc1, released on 2014/10/14 ============================================= * All issues that were fixed in 4.0.x * Improved client reconnection strategy on errors * GSSAPI security mechanism * SOCKS5 support (ZMQ_SOCKS_PROXY) * ZMQ_ROUTER_HANDOVER * ZMQ_TOS * ZMQ_CONNECT_RID * ZMQ_HANDSHAKE_IVL * ZMQ_IDENTITY_FD * ZMQ_XPUB_NODROP * ZMQ_SRCFD and ZMQ_SHARED message options * Message metadata -- zmq_msg_gets () * Probe library configuration -- zmq_has () 0MQ version 4.0.5 stable, released on 2014/10/14 ================================================ * Fixed #1191; CURVE mechanism does not verify short term nonces. * Fixed #1190; stream_engine is vulnerable to downgrade attacks. * Fixed #1088; assertion failure for WSAENOTSOCK on Windows. * Fixed #1015; race condition while connecting inproc sockets. * Fixed #994; bump so library number to 4.0.0 * Fixed #939, assertion failed: !more (fq.cpp:99) after many ZAP requests. * Fixed #872; lost first part of message over inproc://. * Fixed #797, keep-alive on Windows. 0MQ version 4.0.4 stable, released on 2014/03/10 ================================================ Bug Fixes --------- * Fixed #909; out of tree build issue on Linux. * Fixed #888; hangs on terminate when inproc connected but never bound. * Fixed #868; assertion failure at ip.cpp:137 when using port scanner. * Fixed #818; fix timestamp counter on s390/s390x. * Fixed #817; only export zmq_* symbols. * Fixed #797; fixed setting TCP keepalive on Windows. * Fixed #775; compile error on Windows. * Fixed #763; when talking to a ZMTP v1 peer (libzmq 2.2), a socket would send an extra identity frame at the start of the connection. * Fixed LIBZMQ-576 - Crash closing a socket after zmq_msg_send returns EAGAIN (reverts LIBZMQ-497) * Fixed LIBZMQ-584; subscription filters getting lost on reconnection. 0MQ version 4.0.3 stable, released on 2013/11/24 ================================================ Bug Fixes --------- * Fixed test_many_sockets case, which failed when process socket limit was 1024. 0MQ version 4.0.2 stable, released on 2013/11/24 ================================================ Bug Fixes --------- * Fixed LIBZMQ-583 - improved low-res timer for Windows * Fixed LIBZMQ-578 - z85_decode was extremely slow * Fixed LIBZMQ-577 - fault in man pages. * Fixed LIBZMQ-574 - assertion failure when ran out of system file handles * Fixed LIBZMQ-571 - test_stream failing in some cases * Fixed LIBZMQ-569 - Socket server crashes with random client data and when talking to 2.2 versions * Fixed LIBZMQ-39 - Bad file descriptor during shutdown * Pulled expected failing test_linger.cpp from release * Reduced pause time in tests to allow "make check" to run faster 0MQ version 4.0.1 stable, released on 2013/10/08 ================================================ Changes ------- * Updated CURVE mechanism to track revised RFC 27 (INITIATE vouch). The INITIATE command vouch box is Box[C',S](C->S') instead of Box[C'](C->S), to reduce the risk of client impersonation, as per https://codesinchaos.wordpress.com/2012/09/09/curvecp-1/. * Fixed LIBZMQ-567, adding abstract namespaces for IPC sockets on Linux. Converts an initial strudel or "at sign" (@) in the Unix socket path to a NULL character ('\0') indicating that the socket uses the abstract namespace instead of the filesystem namespace. For instance, binding a socket to 'ipc://@/tmp/tester' will not create a file associated with the socket whereas binding to 'ipc:///tmp/tester' will create the file /tmp/tester. See issue 567 for more information. * Added zmq_z85_encode and zmq_z85_decode to core libzmq API. * Added zmq_curve_keypair to core libzmq API. * Bumped library ABI version to 4:0:1. Bug fixes --------- * Fixed some build/test errors on OS/X + Clang++. * Fixed LIBZMQ-565, typo in code. * Fixed LIBZMQ-566, dealer-to-router connections sometimes failing. * Fixed builds for AIX, MSVC 2008, OS/X with clang++, Solaris. * Improved CURVE handshake error handling. 0MQ version 4.0.0 (RC1), released on 2013/09/20 =============================================== Major changes ------------- * New wire level protocol, ZMTP/3.0, see http://rfc.zeromq.org/spec:23. Does not yet implement the SUBSCRIBE, CANCEL, PING, and PONG commands. * New security framework, from plain user+password to strong encryption, see section below. See http://hintjens.com/blog:49 for a tutorial. * New ZMQ_STREAM socket type for working as a TCP client or server. See: tests/test_stream.cpp. Improvements ------------ * You can now connect to an inproc:// endpoint that does not already exist. This means inproc:// no longer needs careful set-up, but it may break code that relied on the old behaviour. See: tests/test_inproc_connect.cpp. * Libzmq now checks socket types at connection time, so that trying to connect a 'wrong' socket type will fail. * New zmq_ctx_shutdown API method will shutdown a context and send ETERM to blocking calls, without blocking. Use zmq_ctx_term to finalise the process. * The regression test suite has been significantly extended and improved. * Contexts can now be terminated in forked child processes. See: tests/test_fork.cpp. * zmq_disconnect now respects the linger setting on sockets. * New zmq_send_const API method to send constant data (without copying). See: tests/test_inproc_connect.cpp. * Added CMake support for static libraries. * Added test cases for socket semantics as defined in RFCs 28, 29, 30, 31. See: tests/test_spec_*.cpp. * New socket option, ZMQ_PROBE_ROUTER triggers an empty message on connect. See: tests/test_probe_router.cpp. * New socket option, ZMQ_REQ_CORRELATE allows for correlation of replies from a REP socket. See: tests/test_req_correlate.cpp. * New socket option, ZMQ_REQ_RELAXED, lets you disable the state machine on a REQ socket, so you can send multiple requests without waiting for replies, and without getting an EFSM error. See: tests/test_req_relaxed.cpp. * New socket option, ZMQ_CONFLATE restricts the outgoing and incoming socket buffers to a single message. See: tests/test_conflate.cpp. Deprecated Options ------------------ * ZMQ_IPV4ONLY deprecated and renamed to ZMQ_IPV6 so that options are consistently "off" by default. * ZMQ_DELAY_ATTACH_ON_CONNECT deprecated, and renamed to ZMQ_IMMEDIATE. See: tests/test_immediate.cpp. Security Framework ------------------ Based on new ZMTP wire level protocol that negotiates a security "mechanism" between client and server before exchanging any other data. Security mechanisms are extensible. ZMTP defines three by default: * NULL - classic ZeroMQ, with no authentication. See http://rfc.zeromq.org/spec:23. * PLAIN - plain-text username + password authentication. See http://rfc.zeromq.org/spec:24. * CURVE - secure authentication and encryption based on elliptic curve cryptography, using the Curve25519 algorithm from Daniel Bernstein and based on CurveCP's security handshake. See http://rfc.zeromq.org/spec:25, http://rfc.zeromq.org/spec:26, and http://curvecp.org. Authentication is done by pluggable "authenticators" that connect to libzmq over an inproc endpoint, see http://rfc.zeromq.org/spec:27. Socket options to configure PLAIN security on client or server: * ZMQ_PLAIN_SERVER, ZMQ_PLAIN_USERNAME, ZMQ_PLAIN_PASSWORD. See tests/test_security_plain. Socket options to configure CURVE security on client or server: * ZMQ_CURVE_SERVER, ZMQ_CURVE_PUBLICKEY, ZMQ_CURVE_SECRETKEY, ZMQ_CURVE_SERVERKEY. See tests/test_security_curve.cpp. Socket options to configure "domain" for ZAP handler: * ZMQ_ZAP_DOMAIN, see tests/test_security_null.cpp. Support for encoding/decoding CURVE binary keys to ASCII: * zmq_z85_encode, zmq_z85_decode. Other issues addressed in this release -------------------------------------- * LIBZMQ-525 Multipart upstreaming from XSUB to XPUB 0MQ version 3.2.4 stable, released on 2013/09/20 ================================================ * LIBZMQ-84 (Windows) Assertion failed: Address already in use at signaler.cpp:80 * LIBZMQ-456 ZMQ_XPUB_VERBOSE does not propagate in a tree of XPUB/XSUB devices * LIBZMQ-532 (Windows) critical section not released on error * LIBZMQ-569 Detect OpenPGM 5.2 system library * LIBZMQ-563 Subscribers sometimes stopped receiving messages (aka LIBZMQ-541) * LIBZMQ-XXX Added support for Travis Continuous Integration * LIBZMQ-XXX Several improvements to MSVC support 0MQ version 3.2.3 stable, released on 2013/05/02 ================================================ Issues addressed in this release -------------------------------- * LIBZMQ-526 Assertion failure "Invalid argument (tcp_connecter.cpp:285)" * LIBZMQ-446 Setting the DSCP bits by default causes CAP_NET_ADMIN error * LIBZMQ-496 Crash on heavy socket opening/closing: Device or resource busy (mutex.hpp:90) * LIBZMQ-462 test_connect_delay fails at test_connect_delay.cpp:80 * LIBZMQ-497 Messages getting dropped * LIBZMQ-488 signaler.cpp leaks the win32 Event Handle * LIBZMQ-476 zmq_disconnect has no effect for inproc sockets * LIBZMQ-475 zmq_disconnect does not sent unsubscribe messages 0MQ version 3.2.2 stable, released on 2012/11/23 ================================================ Issues addressed in this release -------------------------------- * LIBZMQ-384 No meta data for ZMQ_EVENT_DISCONNECTED monitor event * LIBZMQ-414 Error in ARM/Thumb2 assembly (atomic_ptr.hpp) * LIBZMQ-417 zmq_assert (!incomplete_in) in session_base.cpp 228 * LIBZMQ-447 socket_base_t::recv() packet loss and memory leak at high receiving rate * LIBZMQ-448 Builds fail on older versions of GCC * LIBZMQ-449 Builds fail on AIX * LIBZMQ-450 lt-test_monitor: fails with assertion at test_monitor.cpp:81 * LIBZMQ-451 ZMQ_ROUTER_MANDATORY blocks forever * LIBZMQ-452 test_connect_delay.cpp:175:12: error: 'sleep' was not declared in this scope * LIBZMQ-458 lt-test_router_mandatory fails with assertion at test_router_mandatory.cpp:53 * LIBZMQ-459 Assertion failed: encoder (stream_engine.cpp:266 * LIBZMQ-464 PUB socket with HWM set leaks memory * LIBZMQ-465 PUB/SUB results in 80-90% of CPU load * LIBZMQ-468 ZMQ_XPUB_VERBOSE & unsubscribe * LIBZMQ-472 Segfault in zmq_poll in REQ to ROUTER dialog 0MQ version 3.2.1 (RC2), released on 2012/10/15 =============================================== Issues addressed in this release -------------------------------- * Fixed issue xxx - handle insufficient resources on accept() properly. * Fixed issue 443 - added ZMQ_XPUB_VERBOSE setsocket option. * Fixed issue 433 - ZeroMQ died on receiving EPIPE * Fixed issue 423 - test_pair_tcp hangs * Fixed issue 416 - socket_base: fix 'va_list' has not been declared error * Fixed issue 409 - Pub-sub interoperability between 2.x and 3.x. * Fixed issue 404 - zmq_term can not safely be re-entered with pgm transport * Fixed issue 399 - zmq_ctx_set_monitor callback is not works properly * Fixed issue 393 - libzmq does not build on Android (socklen_t signed comparison) * Fixed issue 392 - Interaction with pyzmq on Android * Fixed issue 389 - Assertion failure in mtrie.cpp:317 * Fixed issue 388 - tests/test_monitor.cpp has no newline at EOF (causes compile error) * Fixed issue 387 - "sa_family_t sa_family;" in pgm_socket.cpp is unused variable * Fixed issue 385 - Rework ZMQ_FAIL_UNROUTABLE socket option to actually work * Fixed issue 382 - Current libzmq doesn't compile on Android NDK * Fixed issue 377 - ZeroMQ will not build on Windows with OpenPGM * Fixed issue 375 - error: unused variable 'sa_family' * Fixed issue 373 - Unable to build libzmq/zeromq3.x on AIX7 * Fixed issue 372 - Unable to build libzmq/zeromq3.x on HPUX 11iv3 * Fixed issue 371 - Unable to build libzmq/zeromq3.x on RHEL5/SLES10 * Fixed issue 329 - wsa_error_to_errno() calls abort() on WSAEACCES * Fixed issue 309 - Assertion failed: options.recv_identity (socket_base.cpp:864) * Fixed issue 211 - Assertion failed: msg_->flags & ZMQ_MSG_MORE (rep.cpp:81) API changes ----------- * zmq_device () deprecated and replaced by zmq_proxy (). * zmq_ctx_set_monitor () replaced by zmq_socket_monitor (). * ZMQ_ROUTER_BEHAVIOR/ZMQ_FAIL_UNROUTABLE renamed experimentally to ZMQ_ROUTER_MANDATORY. 0MQ version 3.2.0 (RC1), released on 2012/06/05 =============================================== Bug fixes --------- * Fixed issue 264 - Potential bug with linger, messages dropped during socket close. * Fixed issue 293 - libzmq doesn't follow the ZMTP/1.0 spec (did not set reserved bits to 0). * Fixed issue 303 - Assertion failure in pgm_sender.cpp:102. * Fixed issue 320 - Assertion failure in connect_session.cpp:96 when connecting epgm to an invalid endpoint. * Fixed issue 325 - Assertion failure in xrep.cpp:93, when two sockets connect using the same identity. * Fixed issue 327 - Assertion failure in mtrie.cpp:246, when unsubscribing from channel. * Fixed issue 346 - Assertion failure in signaler.cpp:155, when using a closed socket. * Fixed issue 328 - unsubscribe wrongly clears multiple subscriptions. * Fixed issue 330 - IPC listener does not remove unix domain stream file when terminated. * Fixed issue 334 - Memory leak in session_base.cpp:59. * Fixed issue 369 - ROUTER cannot close/reopen while DEALER connected. Operating systems ----------------- * Fixed issue 301 - HPUX 11iv2 - build fails, CLOCK_MONOTONIC undefined. * Fixed issue 324 - OS/X - build fails, ECANTROUTE undefined. * Fixed issue 368 - Solaris / Sun C++ - build fails, no insert method in multimap classes. * Fixed issue 366 - Windows - ports not freed after crash. * Fixed issue 355 - Windows - build fails, MSVC solution file is out of date. * Fixed issue 331 - FreeBSD 8 and 9 - getaddrinfo fails with EAI_BADFLAGS on AI_V4MAPPED flag. * Fixed issue xxx - Added support for WinCE. Performance ----------- * Fixed issue xxx - Implemented atomic operations for ARMv7a (runs 15-20% faster). API changes ----------- * Fixed issue 337 - Cleaned-up context API: zmq_ctx_new() - create new context (will deprecate zmq_init) zmq_ctx_destroy() - destroy context (will deprecate zmq_term) zmq_ctx_set() - set context property zmq_ctx_get() - get context property * Fixed issue xxx - Cleaned-up message API: zmq_msg_send() - send a message (will deprecate zmq_sendmsg) zmq_msg_recv() - receive a message (will deprecate zmq_recvmsg) zmq_msg_more() - indicate whether this is final part of message zmq_msg_get() - get message property zmq_msg_set() - set message property * Fixed issue xxx - Added context monitoring API: zmq_ctx_set_monitor() - configure monitor callback. * Fixed issue xxx - Added unbind/disconnect API: zmq_unbind() - unbind socket. zmq_disconnect() - disconnect socket. * Fixed issue xxx - Added ZMQ_TCP_ACCEPT_FILTER setsockopt() for listening TCP sockets. * Fixed issue 336 - Removed sys: transport. * Fixed issue 333 - Added zmq_device function back to API (was removed in 3.0). * Fixed issue 340 - Add support for MAX_SOCKETS to new context API. OMQ version 3.1.0 (beta), released on 2011/12/18 ================================================ General information ------------------- Based on community consensus, the 0MQ 3.1.x release reverts a number of features introduced in version 3.0. The major reason for these changes is improving backward compatibility with 0MQ 2.1.x. Development of the 0MQ 3.0.x series will be discontinued, and users are encouraged to upgrade to 3.1. The 0MQ 3.1.x releases use ABI version 3. Reverted functionality ---------------------- The following functionality present in 0MQ 3.0 has been reverted: * Wire format changes. The 0MQ 3.1 wire format is identical to that of 0MQ 2.1. * LABELs and COMMANDs have been removed. * Explicit identies are re-introduced, however they can be used only for explicit routing, not for durable sockets. * The ZMQ_ROUTER and ZMQ_DEALER socket types are once again aliases for ZMQ_XREQ and ZMQ_XREP. New functionality ----------------- * The zmq_getmsgopt() function has been introduced. * Experimental IPv6 support has been introduced. This is disabled by default, see the zmq_setsockopt() documentation for enabling it. Other changes ------------- * The default HWM for all socket types has been set to 1000. * Many bug fixes. Building -------- * The dependency on libuuid has been removed. * Support for building on Android, and with MSVC 10 has been added. 0MQ version 3.0.0 (alpha), released on 2011/07/12 ================================================= New functionality ----------------- * A zmq_ctx_set_monitor() API to register a callback / event sink for changes in socket state. * POSIX-compliant zmq_send and zmq_recv introduced (uses raw buffer instead of message object). * ZMQ_MULTICAST_HOPS socket option added. Sets the appropriate field in IP headers of PGM packets. * Subscription forwarding. Instead of filtering on consumer, the subscription is moved as far as possible towards the publisher and filtering is done there. * ZMQ_XPUB, ZMQ_XSUB introduced. Allow to create subscription- forwarding-friendly intermediate devices. * Add sockopt ZMQ_RCVTIMEO/ZMQ_SNDTIMEO. Allow to set timeout for blocking send/recv calls. * A new LABEL flag was added to the wire format. The flag distinguishes message parts used by 0MQ (labels) from user payload message parts. * There is a new wire format for the REQ/REP pattern. First, the empty bottom-of-the-stack message part is not needed any more, the LABEL flag is used instead. Secondly, peer IDs are 32-bit integers rather than 17-byte UUIDs. * The REQ socket now drops duplicate replies. * Outstanding requests & replies associated with a client are dropped when the clients dies. This is a performance optimisation. * Introduced ZMQ_ROUTER and ZMQ_DEALER sockets. These mimic the functionality of ZMQ_ROUTER and ZMQ_DEALER in 0MQ/2.1.x. Guarantees backward compatibility for exsiting code. * Removed dependency on OS socketpair buffer size. No more asserts in mailbox.cpp because of low system limit of sockepair buffer size. API improvements ---------------- * Obsolete constants ZMQ_UPSTREAM and ZMQ_DOWNSTREAM removed. Use ZMQ_PUSH and ZMQ_PULL instead. * Timeout in zmq_poll is in milliseconds instead of microseconds. This makes zmq_poll() compliant with POSIX poll() * ZMQ_MCAST_LOOP removed. There's no support for multicast over loopback any more. Use IPC or TCP isntead. * zmq_send/zmq_recv was renamed zmq_sendmsg/zmq_recvmsg. * ZMQ_RECOVERY_IVL and ZMQ_RECOVERY_IVL_MSEC reconciled. The new option is named ZMQ_RECOVERY_IVL and the unit is milliseconds. * Option types changed. Most of the numeric types are now represented as 'int'. * ZMQ_HWM split into ZMQ_SNDHWM and ZMQ_RCVHWM. This makes it possible to control message flow separately for each direction. * ZMQ_NOBLOCK renamed ZMQ_DONTWAIT. That makes it POSIX-compliant. Less is More ------------ * Pre-built devices and zmq_device() removed. Should be made available as a separate project(s). * ZMQ_SWAP removed. Writing data to disk should be done on top of 0MQ, on inside it. * C++ binding removed from the core. Now it's a separate project, same as any other binding. Bug fixes --------- * Many. Building -------- * Make pkg-config dependency conditional. Distribution ------------ * Removed Debian packaging, which is now available at packages.debian.org or via apt-get. 0MQ version 2.2.0 (Stable), released on 2012/04/04 ================================================== Changes ------- * Fixed issue 349, add send/recv timeout socket options. Bug fixes --------- * Fixed issue 301, fix builds on HP-UX 11iv3 when using either gcc or aCC. * Fixed issue 305, memory leakage when using dynamic subscriptions. * Fixed issue 332, libzmq doesn't compile on Android NDK. * Fixed issue 293, libzmq doesn't follow ZMTP/1.0 spec. * Fixed issue 342, cannot build against zmq.hpp under C++11. 0MQ version 2.1.11 (Stable), released on 2011/12/18 =================================================== Bug fixes --------- * Fixed issue 290, zmq_poll was using system time instead of monotonic clock (Mika Fischer). * Fixed issue 281, crash on heavy socket creation - assertion failure in mutex.hpp:91. (Mika Fischer). * Fixed issue 273, O_CLOEXEC flag used in ip.cpp:192 is supported only on Linux kernels 2.6.27+ * Fixed issue 261, assertion failure in kqueue.cpp:76. * Fixed issue 269, faulty diagnostic code in 2.1.10. * Fixed issue 254, assertion failure at tcp_socket.cpp:229 on ENOTCONN. Changes ------- * Now builds properly on AIX 6.1 (AJ Lewis). * Builds using libdcekt on HP-UX (AJ Lewis). * New upstream OpenPGM maintenance release 5.1.118. * Enabled debugging on assertion failure on Windows (Paul Betts). 0MQ version 2.1.10 (Stable), released on 2011/10/03 =================================================== Bug fixes --------- * Fixed issue 140, SWAP failed with assertion failure in pipe.cpp:187 if the current directory was not writeable. Behavior now is to return -1 at zmq_setsockopt in this situation. * Fixed issue 207, assertion failure in zmq_connecter.cpp:48, when an invalid zmq_connect() string was used, or the hostname could not be resolved. The zmq_connect() call now returns -1 in both those cases. * Fixed issue 218, sockets not opened with SOCK_CLOEXEC, causing fork/exec to sit on sockets unnecessarily. * Fixed issue 250, build errors on Windows (Mikko Koppanen). * Fixed issue 252, assertion failure in req.cpp:87 and req.cpp:88 (Mikko Koppanen). 0MQ version 2.1.9 (Stable), released on 2011/08/29 ================================================== Bug fixes --------- * Fixed issue 240, assertion failure in pgm_socket.cpp:437. * Fixed issue 238, assertion failure in zmq.cpp:655, when zmq_poll is used on an empty set, on Windows. * Fixed issue 239, assertion failure in zmq.cpp:223, when ZMQ_SWAP was used with explicit identities and multiple SUB sockets. * Fixed issue 236, zmq_send() and zmq_recv() did not always return error conditions such as EFSM properly. This bug was introduced in version 2.1.8 by the backport of changes for issue 231. Building -------- * 0MQ support for Android added (Bill Roberts, Mikko Koppanen). 0MQ version 2.1.8 (RC), released on 2011/07/28 ============================================== Bug fixes --------- * Fixed issue 223, assertion failure in tcp_connecter.cpp:300 when connecting to a server that is on an unreachable network (errno is equal to ENETUNREACH). * Fixed issue 228, assertion failure at rep.cpp:88 when HWM was reached. * Fixed issue 231, assertion failure at mailbox.cpp:183 when too many pending socketpair operations were queued (major backport from 3.0). * Fixed issue 234, assertion failure at mailbox.cpp:77 when Ctrl-C was used (only affected git master following backport for 231). * Fixed issue 230, SIGPIPE killing servers when client disconnected, hit OS/X only. Note: this release was renamed "release candidate" due to issue 236, fixed in 2.1.9. 0MQ version 2.1.7 (Stable), released on 2011/05/12 ================================================== Bug fixes --------- * Fixed issue 188, assert when closing socket that had unread multipart data still on it (affected PULL, SUB, ROUTER, and DEALER sockets). * Fixed issue 191, message atomicity issue with PUB sockets (an old issue). * Fixed issue 199 (affected ROUTER/XREP sockets, an old issue). * Fixed issue 206, assertion failure in zmq.cpp:223, affected all sockets (bug was introduced in 2.1.6 as part of message validity checking). * Fixed issue 211, REP socket asserted if sent malformed envelope (old issue due to abuse of assertions for error checking). * Fixed issue 212, reconnect failing after resume from sleep on Windows (due to not handling WSAENETDOWN). * Properly handle WSAENETUNREACH on Windows (e.g. if client connects before server binds). * Fixed memory leak with threads on Windows. Changes ------- * Checks zmq_msg_t validity at each operation. * Inproc performance tests now work on Windows. * PGM wire format specification improved in zmq_pgm(7) * Added thread latency/throughput performance examples. * Added "--with-system-pgm" configure option to use already installed OpenPGM. * Runtime checking of socket and context validity, to catch e.g. using a socket after closing it, or passing an invalid pointer to context/socket methods. * Test cases moved off port 5555, which conflicts with other services. * Clarified zmq_poll man page that the resolution of the timeout is 1msec. 0MQ version 2.1.6 (Broken), released on 2011/04/26 ================================================== Note that this version contained a malformed patch and is not usable. It is not available for download, but is available in the git via the 2.1.6 tag. 0MQ version 2.1.5 (Broken), released on 2011/04/20 ================================================== Note that this version contained a malformed patch and is not usable. It is not available for download, but is available in the git via the 2.1.5 tag. 0MQ version 2.1.4 (Stable), released on 2011/03/30 ================================================== Bug fixes --------- * Fix to OpenPGM which was asserting on small messages (Steven McCoy). Changes ------- * Upgraded OpenPGM to version 5.1.115 (Pieter Hintjens). * OpenPGM build changed to not install OpenPGM artifacts. 0MQ version 2.1.3 (Stable), released on 2011/03/21 ================================================== Bug fixes --------- * Fix to PUSH sockets, which would sometimes deliver tail frames of a multipart message to new subscribers (Martin Sustrik). * Fix to PUB sockets, which would sometimes deliver tail frames of a multipart message to new subscribers (Martin Sustrik). * Windows build was broken due to EPROTONOSUPPORT not being defined. This has now been fixed (Martin Sustrik). * Various fixes to make OpenVMS port work (Brett Cameron). * Corrected Reference Manual to note that ZMQ_LINGER socket option may be set at any time, not just before connecting/binding (Pieter Hintjens). * Fix to C++ binding to properly close sockets (Guido Goldstein). * Removed obsolete assert from pgm_socket.cpp (Martin Sustrik). Changes ------- * Removed stand-alone devices (/devices subdirectory) from distribution. These undocumented programs remain available in older packages (Pieter Hintjens). * OpenPGM default rate raised to 40mbps by default (Steven McCoy). * ZMQ_DEALER and ZMQ_ROUTER macros provided to ease upgrade to 0MQ/3.0. These are scheduled to replace ZMQ_XREQ and ZMQ_XREP (Pieter Hintjens). * Added man page for zmq_device(3) which was hereto undocumented (Pieter Hintjens). * Removed zmq_queue(3), zmq_forwarder(3), zmq_streamer(3) man pages (Pieter Hintjens). OpenPGM Integration ------------------- * Upgraded OpenPGM to version 5.1.114 (Steven McCoy, Mikko Koppanen). * Build system now calls OpenPGM build process directly, allowing easier future upgrades of OpenPGM (Mikko Koppanen). * Build system allows configuration with arbitrary versions of OpenPGM (./configure --with-pgm=libpgm-x.y.z) (Mikko Koppanen). * OpenPGM uses new PGM_ODATA_MAX_RTE controlling original data instead of PGM_TXW_MAX_RTE covering entire channel (Steven McCoy). Building -------- * 0MQ builds properly on FreeBSD (Mikko Koppanen). 0MQ version 2.1.2 (rc2), released on 2011/03/06 =============================================== Bug fixes --------- * 0MQ now correctly handles durable inproc sockets; previously it ignored explicit identities on inproc sockets. * Various memory leaks were fixed. * OpenPGM sender/receiver creation fixed. 0MQ version 2.1.1 (rc1), released on 2011/02/23 =============================================== New functionality ----------------- * New socket option ZMQ_RECONNECT_IVL_MAX added, allows for exponential back-off strategy when reconnecting. * New socket option ZMQ_RECOVERY_IVL_MSEC added, as a fine-grained counterpart to ZMQ_RECOVERY_IVL (for multicast transports). * If memory is exhausted, 0MQ warns with an explicit message before aborting the process. * Size of inproc HWM and SWAP is sum of peers' HWMs and SWAPs (Douglas Greager, Martin Sustrik). Bug fixes --------- * 0MQ no longer asserts in mailbox.cpp when multiple peers connect with the same identity. * 0MQ no longer asserts when rejecting an oversized message. * 0MQ no longer asserts in pipe.cpp when the swap fills up. * zmq_poll now works correctly with an empty poll set. * Many more. Building -------- * 0MQ now builds correctly on CentOS, Debian 6, and SunOS/gcc3. * Added WithOpenPGM configuration into MSVC builds. Known issues ------------ * OpenPGM integration is still not fully stable. 0MQ version 2.1.0 (Beta), released on 2010/12/01 ================================================ New functionality ----------------- * New semantics for zmq_close () and zmq_term () ensure that all messages are sent before the application terminates. This behaviour may be modified using the new ZMQ_LINGER socket option; for further details refer to the reference manual. * The new socket options ZMQ_FD and ZMQ_EVENTS provide a way to integrate 0MQ sockets into existing poll/event loops. * Sockets may now be migrated between OS threads, as long as the application ensures that a full memory barrier is issued. * The 0MQ ABI exported by libzmq.so has been formalised; DSO symbol visibility is used on supported platforms to ensure that only public ABI symbols are exported. The library ABI version has been set to 1.0.0 for this release. * OpenPGM has been updated to version 5.0.92. This version no longer depends on GLIB, and integration with 0MQ should be much improved. * zmq_poll() now honors timeouts precisely, and no longer returns if no events are signaled. * Blocking calls now return EINTR if interrupted by the delivery of a signal; this also means that language bindings which previously had problems with handling SIGINT/^C should now work correctly. * The ZMQ_TYPE socket option was added; this allows retrieval of the socket type after creation. * Added a ZMQ_VERSION macro to zmq.h for compile-time API version detection. * The ZMQ_RECONNECT_IVL and ZMQ_BACKLOG socket options have been added. Bug fixes --------- * Forwarder and streamer devices now handle multi-part messages correctly. * 0MQ no longer asserts when malformed data is received on the wire. * 0MQ internal timers now work correctly if the TSC jumps backwards. * The internal signalling functionality (mailbox) has been improved to automatically resize socket buffers on POSIX systems. * Many more. Building -------- * 0MQ now builds correctly with many more non-GCC compilers (Sun Studio, Intel ICC, CLang). * AIX and HP-UX builds should work now. * FD_SETSIZE has been set to 1024 by default for MSVC builds. * Windows builds using GCC (MinGW) now work out of the box. Distribution ------------ * A simple framework for regression tests has been added, along with a few basic self-tests. The tests can be run using "make check". PK!·‰Ù00AUTHORSnu„[µü¤Corporate Contributors ====================== Copyright (c) 2007-2015 iMatix Corporation Copyright (c) 2009-2011 250bpm s.r.o. Copyright (c) 2010-2011 Miru Limited Copyright (c) 2011 VMware, Inc. Copyright (c) 2012 Spotify AB Copyright (c) 2013 Ericsson AB Copyright (c) 2014 AppDynamics Inc. Individual Contributors ======================= AJ Lewis Alexej Lotz Andrew Thompson Asko Kauppi Attila Mark Barak Amar Ben Gray Bernd Prager Bernd Melchers Bob Beaty Brandon Carpenter Brian Buchanan Brett Cameron Burak Arslan Carl Clemens Chia-liang Kao Chris Busbey Chris Rempel Chris Wong Christian Gudrian Christian Kamm Chuck Remes Conrad D. Steenberg Dhammika Pathirana Dhruva Krishnamurthy Dirk O. Kaar Douglas Creager Drew Crawford Erich Heine Erik Hugne Erik Rigtorp Fabien Ninoles Frank Denis George Neill Gerard Toonstra Ghislain Putois Gonzalo Diethelm Guido Goldstein Ian Barber Ilja Golshtein Ivo Danihelka Jacob Rideout Joe Thornber Jon Dyte Kamil Shakirov Ken Steele Laurent Alebarde Luca Boccassi Marc Rossi Mark Barbisan Martin Hurton Martin Lucina Martin Pales Martin Sustrik Matus Hamorsky Max Wolf McClain Looney Michael Compton Mika Fischer Mikael Helbo Kjaer Mike Gatny Mikko Koppanen Min Ragan-Kelley Neale Ferguson Nir Soffer Paul Betts Paul Colomiets Pavel Gushcha Pavol Malosek Perry Kundert Peter Bourgon Philip Kovacs Pieter Hintjens Piotr Trojanek Richard Newton Rik van der Heijden Robert G. Jakabosky Sebastian Otaegui Stefan Radomski Steven McCoy Stuart Webster Tamara Kustarova Taras Shpot Tero Marttila Terry Wilson Thijs Terlouw Thomas Rodgers Toralf Wittner Tore Halvorsen Trevor Bernard Vitaly Mayatskikh Lourens Naudé Hardeep Singh André Caron Tim Mossbarger Credits ======= Aamir Mohammad Adrian von Bidder Aleksey Yeschenko Alessio Spadaro Alexander Majorov Anh Vu Bernd Schumacher Brian Granger Carsten Dinkelmann David Bahi Dirk Eddelbuettel Evgueny Khartchenko Frank Vanden Berghen Ian Barber John Apps Markus Fischer Matt Muggeridge Michael Santy Oleg Sevostyanov Paulo Henrique Silva Peter Busser Peter Lemenkov Robert Zhang Toralf Wittner Zed Shaw PK!™ ®ëå¡å¡ ChangeLognu„[µü¤PK!ÇŒø•¶‡¶‡¢NEWSnu„[µü¤PK!·‰Ù00*AUTHORSnu„[µü¤PKÔo2