0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-15 02:07:59 +08:00

2158 Commits

Author SHA1 Message Date
Francesco Montorsi
525c7b125c
Feature: zeromq3-x: integrate with ReadTheDocs (#4617)
* add ReadTheDocs integration
2023-11-02 20:45:48 +00:00
Pieter Hintjens
b56cb96783 Merge pull request #123 from calid/libzmq-949-backport
backport zeromq/libzmq#949 fixes to 3-x stable
2015-06-29 23:37:00 +02:00
Dylan Cali
c34f4d07fe Updated NEWS 2015-06-29 02:46:39 -05:00
Dylan Cali
6369bfb78d backport zeromq/libzmq@09e7416
fixes zmq_unbind failing for wildcard endpoints
2015-06-29 02:42:41 -05:00
Dylan Cali
717d69005d backport zeromq/libzmq@54e0fde
fixes zmq_unbind failing with ENOENT
2015-06-29 02:42:41 -05:00
Dylan Cali
c629a9265c add tests for zeromq/libzmq#949 2015-06-29 02:42:41 -05:00
Pieter Hintjens
096ac1e035 Merge pull request #122 from calid/ignore-test-output-files
backport zeromq/libzmq@7b5da7d
2015-06-29 08:05:57 +02:00
Dylan Cali
3a19224490 backport zeromq/libzmq@7b5da7d 2015-06-28 22:10:19 -05:00
Pieter Hintjens
5a10f71398 Merge pull request #121 from marklakata/master
Update stream_engine.hpp
2015-03-10 08:16:20 +01:00
Mark Lakata
148427d291 Update stream_engine.hpp
The Intel compiler complains about the order of "static" and "const". The fix is a simple switch to one line in one header file.

In file included from ipc_listener.cpp(29):
stream_engine.hpp(97): error #82: storage class is not first
          const static size_t greeting_size = 12;
2015-03-09 17:19:52 -07:00
Pieter Hintjens
3498e893dc Merge pull request #120 from fichtner/nanosleep_include
tests: add proper include for nanosleep() on FreeBSD
2015-02-07 12:45:55 +01:00
Franco Fichtner
81b9e4020f tests: add proper include for nanosleep() on FreeBSD
Patch has been in the ports tree for quite a while, it may be
useful to push it upstream.  :)
2015-02-07 12:15:31 +01:00
Pieter Hintjens
fc7758c077 Ignore autoconf generated files 2014-10-14 10:24:33 +02:00
Pieter Hintjens
42868d11d4 Updated version for next release 2014-10-14 10:23:36 +02:00
Pieter Hintjens
0fd30dc34a Merge pull request #118 from hintjens/master
Updated NEWS for 3.2.5
v3.2.5
2014-10-14 10:00:26 +02:00
Pieter Hintjens
d532e01abc Updated NEWS for 3.2.5 2014-10-14 09:57:28 +02:00
Pieter Hintjens
ec0706d5fa Merge pull request #117 from hintjens/master
Updated NEWS
2014-05-02 18:38:29 +02:00
Pieter Hintjens
f43148eaf9 Updated NEWS 2014-05-02 18:38:04 +02:00
Pieter Hintjens
346527a1cf Merge pull request #116 from daveab/master
Fix race to crash: when a message is sent as the last connection is lost

Fixes #1002
2014-05-02 18:36:36 +02:00
daveab
00e5b37420 Fix a race (to crash) when a message is sent as the last connection is lost.
Active is reduced in the zmq internal thread in terminated, potentially to zero.
If the user thread is in send() between lines 109 and 116, then the old code "(current+1) % active" is a divide by 0 - and crashes the program.
2014-04-25 16:14:16 +01:00
Pieter Hintjens
6077e52425 Merge pull request #115 from hintjens/master
Man page fixes
2014-02-13 11:35:40 +01:00
Pieter Hintjens
c7c5228a86 Fixed minor error in man page 2014-02-13 11:34:56 +01:00
Pieter Hintjens
0a703a4d06 Merge pull request #114 from vortechs2000/fix_news
Adjust NEWS to include LIBZMQ-576
2014-01-02 14:45:33 -08:00
AJ Lewis
c9f5ec7da6 Adjust NEWS to include LIBZMQ-576 2014-01-02 16:36:58 -06:00
Pieter Hintjens
9e6bdb5bc5 Merge pull request #113 from vortechs2000/fix-libzmq-576
Fix LIBZMQ-576 - Revert "Merge pull request #76 from hintjens/master"
2014-01-02 13:10:29 -08:00
AJ Lewis
ea9af1cadb Fix LIBZMQ-576 - Revert "Merge pull request #76 from hintjens/master"
This reverts commit a0a24a92af78ebb8f61a8a45454d3ff6d2db0a3d, reversing
changes made to 8e748064acf877e5322f681c30323d7dc91e2100.

See https://zeromq.jira.com/browse/LIBZMQ-576 for details
2014-01-02 11:03:08 -06:00
Pieter Hintjens
833a3c52d2 Clarified ZMQ_IDENTITY doc for duplicate identities 2014-01-01 13:42:53 +01:00
Pieter Hintjens
f5bc82d9a4 Merge pull request #112 from hintjens/master
Backported fix for libzmq-39
2013-11-06 11:24:26 -08:00
Pieter Hintjens
84f00c06d6 Revert "zmq: add support for TIPC transport"
This reverts commit dbc42ee9af098183714845a75139997dcc34c7a0.
2013-11-06 20:22:06 +01:00
Pieter Hintjens
b5312d38cc Revert "zmq: add TIPC transport tests"
This reverts commit d0aa05fac49ef3640a99c67d323bb3d062f6c355.
2013-11-06 20:21:55 +01:00
Pieter Hintjens
aca1fce1cc Backported LIBZMQ-39 fix 2013-11-06 20:18:33 +01:00
Richard Newton
2742c4afd4 Fix race condition on shutdown 2013-11-06 20:17:43 +01:00
Pieter Hintjens
29905ac56a Merge pull request #109 from mrothe/no-public-tests
No public tests
2013-11-03 00:23:12 -07:00
Pieter Hintjens
930252a737 Revert "zmq: add support for TIPC transport"
This reverts commit dbc42ee9af098183714845a75139997dcc34c7a0.
2013-10-31 19:57:03 +01:00
Pieter Hintjens
48cc4c74c4 Revert "zmq: add TIPC transport tests"
This reverts commit d0aa05fac49ef3640a99c67d323bb3d062f6c355.
2013-10-31 19:56:59 +01:00
Pieter Hintjens
86717b2a29 Merge pull request #110 from Hugne/tipc_support
Tipc support
2013-10-31 11:54:43 -07:00
Erik Hugne
d0aa05fac4 zmq: add TIPC transport tests
The tests are identical to the TCP ones, only the
addressing is changed.

Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
2013-10-31 16:49:13 +01:00
Erik Hugne
dbc42ee9af zmq: add support for TIPC transport
A ZeroMQ application can opt for TIPC based sockets
using the TIPC port name format:
zmq_bind(sb, "tipc://{type,lower,upper}");
zmq_connect(sc, "tipc://{type,inst}");

'type' is the service ID, and 'lower/upper' can be
used for service partitioning or basic load
balancing.

ZeroMQ TIPC transport requires a kernel >= 3.8
(nonblocking connect support for TIPC).

Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
2013-10-31 16:45:00 +01:00
Pieter Hintjens
15e4cf2c67 Updated for next release 3.2.5 2013-09-20 13:20:17 +02:00
Pieter Hintjens
f45dd95ed8 Updated NEWS for release 3.2.4 v3.2.4 2013-09-20 11:56:58 +02:00
Markus Rothe
289db060bd test_disconnect_inproc: also change comment to make it non-public 2013-09-18 11:12:58 +02:00
Markus Rothe
e7fda86ce2 test_connect_delay: don't listen on public interfaces
Tests should only bind to local interfaces. Change listening address
from '*' to '127.0.0.1'.

Also change instances of 'localhost' to '127.0.0.1' as used in all other
tests in this directory.
2013-09-18 11:01:49 +02:00
Pieter Hintjens
a7f2ad0b24 Merge pull request #108 from hintjens/master
Updated NEWS
2013-09-16 22:39:18 -07:00
Pieter Hintjens
b36545fe70 Updated NEWS 2013-09-17 07:33:50 +02:00
Pieter Hintjens
687ea29280 Merge pull request #107 from jpoliv/master
Make ./configure --with-system-pgm detect the OpenPGM 5.2 system library.
2013-09-16 22:32:43 -07:00
Jose Pedro Oliveira
2255369a69 Make ./configure --with-system-pgm detect the OpenPGM 5.2 system library.
Note that OpenPGM installs a versioned pkgconfig file (openpgm-5.2.pc,
openpgm-5.1.pc).
2013-09-17 01:15:09 +01:00
Pieter Hintjens
c832e3d1df Merge pull request #105 from hintjens/master
Revert "fixed compilation - added detection for _WIN32_WINNT"
2013-08-23 23:09:59 -07:00
Pieter Hintjens
7f44310670 Revert "fixed compilation - added detection for _WIN32_WINNT"
This reverts commit d1ea5e525e7f8ba886eb4bc72155e6d68dafc269.
2013-08-24 08:08:04 +02:00
Pieter Hintjens
ba597c6e47 Merge pull request #104 from snikulov/cmake_fixes_msvc2012
fixed compilation - added detection for _WIN32_WINNT
2013-08-23 10:25:46 -07:00
Sergei Nikulov
d1ea5e525e fixed compilation - added detection for _WIN32_WINNT 2013-08-22 00:59:15 +04:00
Pieter Hintjens
d246aaceee Merge pull request #102 from hintjens/master
Build failed on some boxes due to missing EOL at EOF
2013-07-30 00:25:02 -07:00
Pieter Hintjens
143ae519b4 Fixed missing whitespace at end of file 2013-07-30 09:24:22 +02:00
Pieter Hintjens
2aca7b233b Merge pull request #99 from leewoosung/hotfixes/patched
Backport for LIBZMQ-541 fix
2013-07-15 00:52:12 -07:00
Pieter Hintjens
00c0d5835f Merge pull request #98 from steve-o/master
Migrate to using MSVC toolkit support independent of compiler versioning.
2013-07-13 15:24:12 -07:00
Steven McCoy
60b64748e5 Use MSVC2012's msbuild to drive everything using toolkit support for actually compilations. 2013-07-13 17:13:34 -04:00
Pieter Hintjens
aeb87cf2cc Merge pull request #97 from steve-o/master
Add MSVC 2013 support; Fix CMake regressions upstream
2013-07-13 14:08:11 -07:00
Steven McCoy
703c1a6e04 Merge remote-tracking branch 'upstream/master' 2013-07-13 12:26:11 -04:00
Steven McCoy
7604dd2d47 Add MSVC 2013 preview support; Fix upstream CMake changes wrt. PDB and lib locations. 2013-07-13 12:24:52 -04:00
Pieter Hintjens
a941934e34 Merge pull request #96 from pijyoi/master
simple Makefile for mingw32
2013-07-11 14:35:23 -07:00
KIU Shueng Chuan
51066c9767 simple Makefile for mingw32 2013-07-11 21:49:45 +08:00
Pieter Hintjens
bd77676d99 Merge pull request #93 from cjuniet/master
[LIBZMQ-543] Fix compilation errors with Clang
2013-07-03 15:42:47 -07:00
Christophe Juniet
20cce750fa Fix a few invalid forward declarations
A few forward declarations use mismatched struct and class types. Clang
won't compile this with -Werror.
2013-07-03 22:22:23 +02:00
WooSung
1b5b18cba9 LIBZMQ-541 fix 2013-06-27 23:20:14 +09:00
Ian Barber
8b6dcc8420 Merge pull request #91 from hintjens/master
test_connect_delay was failing, so I backported the code from libzmq master.
2013-05-21 13:31:51 -07:00
Pieter Hintjens
3d353f8306 Backported test_connect_delay.cpp from libzmq 2013-05-21 10:25:02 +02:00
Pieter Hintjens
ad14c562d7 Merge pull request #90 from hintjens/master
Fixed name of Travis file
2013-05-21 00:33:18 -07:00
Pieter Hintjens
37a0ec5936 Fixed name of Travis file 2013-05-21 09:32:39 +02:00
Pieter Hintjens
e9755d2a39 Merge pull request #89 from hintjens/master
Adding support for Travis CI
2013-05-21 00:25:16 -07:00
Pieter Hintjens
96fbeea5f6 Added support for Travis CI 2013-05-21 09:22:13 +02:00
Pieter Hintjens
0836de2f2e Merge pull request #88 from hintjens/master
Backported two fixes
2013-05-17 23:17:34 -07:00
Pieter Hintjens
26b182fe76 Backported #84 and #532 2013-05-18 07:17:00 +01:00
KIU Shueng Chuan
d7cad1b52a set SO_LINGER on first signaler socket to close in order to avoid
TIME_WAIT state.
2013-05-16 18:57:42 +02:00
KIU Shueng Chuan
573a1eab4b release critical section on failure to create signaler fdpair 2013-05-16 18:57:20 +02:00
Pieter Hintjens
0e5c98a9fe Merge pull request #87 from steve-o/master
Add support for vc110_xp in CMake build environment
2013-05-15 17:10:09 -07:00
Steven McCoy
2c55496d28 Update to support new toolkit functionality with CMake and VS11 for XP as a target platform. 2013-05-15 20:04:07 -04:00
Pieter Hintjens
094eceefb8 Fixed packaging for Windows, was missing errno sources 2013-05-07 14:40:15 +02:00
Martin Hurton
14bb2e46a5 Merge pull request #85 from hintjens/master
Fix for #456 was not backported to 3.2.2; will be in 3.2.4 now
2013-05-03 00:02:08 -07:00
Pieter Hintjens
11bae19cf8 #456 was not in 3.2.2 but will be in 3.2.4 2013-05-02 22:10:06 +02:00
Pieter Hintjens
a3dafd408f Code formatting 2013-05-02 22:09:30 +02:00
John Muehlhausen
58c1ba8994 patch for issue 456
Do not filter out duplicate subscriptions on the XSUB side of
XSUB/XPUB, so that ZMQ_XPUB_VERBOSE doesn't get blocked by forwarding
devices (as long as the devices all use ZMQ_XPUB_VERBOSE)
2013-05-02 22:09:21 +02:00
Pieter Hintjens
c710a39b9e Resolved merge conflict 2013-05-02 20:44:42 +02:00
Pieter Hintjens
400cbc208a Merge pull request #83 from vortechs2000/fix_323_builds
Fix 323 builds
2013-05-02 11:28:49 -07:00
Pieter Hintjens
bdd72826c9 Various cleanups to test programs
- Patch applied using git am from libzmq commit 5f009e52
 - tests/test_raw_sock.cpp doesn't exist in zeromq3-x, so that
   file was manually removed from the patch before 'git am'

Signed-off-by: AJ Lewis <aj.lewis@quantum.com>
2013-05-02 10:40:27 -05:00
AJ Lewis
1e435f59c3 Add newline to end of test_connect_delay.cpp so it compiles with older versions of GCC 2013-05-02 10:32:10 -05:00
Pieter Hintjens
0f6e357894 Bumped version number for next release 3.2.4 2013-05-02 11:23:57 +02:00
Pieter Hintjens
a85ddf3e1a Updated NEWS for 3.2.3 v3.2.3 2013-05-02 11:12:41 +02:00
Pieter Hintjens
41b7f74d49 Merge pull request #82 from trevorbernard/master
Backport fix for LIBZMQ-526
2013-05-01 14:22:05 -07:00
Trevor Bernard
69dbe0113a Back port fix for LIBZMQ-526
Fix syntax error
2013-05-01 10:31:28 -03:00
Pieter Hintjens
894c0fb87b Merge pull request #81 from steve-o/libzmq-446
[#LIBZMQ-446] Silence error on setting PGM_TOS on REL 4.
2013-04-13 02:53:55 -07:00
Steven McCoy
521ed91289 [#LIBZMQ-446] Silence error on setting PGM_TOS due to some platforms raising an error at runtime. Noted are RHEL 4. 2013-04-12 23:44:04 -04:00
Pieter Hintjens
a436d14547 Merge pull request #79 from mika-fischer/workaround-for-496
Work around for LIBZMQ-496
2013-03-18 02:47:57 -07:00
Mika Fischer
1a17eb392e Work around for LIBZMQ-496
The problem is that other threads might still be in mailbox::send() when
it is destroyed. So as a workaround, we just acquire the mutex in the
destructor. Therefore the running send will finish before the mailbox is
destroyed.

See also the fix for LIBZMQ-281 in zeromq2-x.

Signed-off-by: Mika Fischer <mika.fischer@zoopnet.de>
2013-02-19 11:01:13 +01:00
Pieter Hintjens
4f1f68f6cc Merge pull request #78 from ianbarber/master
Backport of test_last_endpoint shutdown fix, resolves LIBZMQ-462
2013-02-11 10:21:30 -08:00
Ian Barber
5d3781a8bf Patch from Rob Gagnon, backport of test fix from master. Resolves LIBZMQ-462 2013-02-10 22:51:52 +00:00
Pieter Hintjens
d6aaa4a7ba Merge pull request #77 from ianbarber/master
Backport of test_connect_delay refactor from master
2013-02-06 23:51:22 -08:00
Ian Barber
b774772bb9 Backport of test_connect_delay refactor 2013-02-06 21:22:56 +00:00
Pieter Hintjens
a0a24a92af Merge pull request #76 from hintjens/master
Backported fix for LIBZMQ-497
2013-02-01 01:04:42 -08:00
Min(Dongmin Yu)
6a7dcfb898 LIBZMQ-497 there could be unsent bytes in encoder
When we send a large message, the message can be splitted into two chunks.
One is in the encoder buffer and the other is the zero-copy pointer.
The session could get the term before the last chunk is sent.
2013-02-01 10:03:55 +01:00
Pieter Hintjens
8e748064ac Merge pull request #75 from hintjens/master
Backported c436c8
2013-01-21 09:07:35 -08:00
MinRK
c436c8cdc3 AM_CONFIG_HEADER -> AC_CONFIG_HEADERS
AM_CONFIG_HEADER raises an 'obsolete error' with automake 1.13.
2013-01-21 18:06:40 +01:00