0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-21 15:12:03 +08:00

2109 Commits

Author SHA1 Message Date
Martin Sustrik
77cbd18e9c issue 11 - Assertion failed: it != peers.end () (pgm_receiver.cpp:161) 2010-04-08 11:07:22 +02:00
Martin Sustrik
38e9103e0c issue 13 (Assertion failed: load.get () == 0 (epoll.cpp:49)) fixed 2010-04-08 08:33:38 +02:00
Martin Sustrik
745db9c574 unitialised member in seesion_t class - fixed 2010-04-07 11:54:09 +02:00
Jon Dyte
edfd05df8e devices can be created via API 2010-04-07 08:20:01 +02:00
Martin Hurton
37fd1a77a6 Handle full-pipe for REP sockets more gracefully 2010-03-31 16:08:43 +02:00
Martin Sustrik
2f219d7c28 ZMQ_TBC renamed to ZMQ_MORE 2010-03-27 21:25:40 +01:00
Martin Sustrik
842b4dd2e4 muti-part message functionality available via API 2010-03-27 14:57:56 +01:00
Martin Sustrik
8d8e0857be as advertised, zmq_flush and ZMQ_NOFLUSH were removed 2010-03-27 14:50:35 +01:00
Martin Sustrik
06538fc117 multi-part messages work with REQ/REP sockets 2010-03-27 14:24:57 +01:00
Martin Sustrik
bbfac783f9 multi-part message work with UPSTREAM/DOWNSTREAM 2010-03-27 09:43:49 +01:00
Martin Sustrik
ed291b0251 multi-part messages work with PUB/SUB 2010-03-27 09:24:38 +01:00
Martin Sustrik
0a53ff7b9f Merge branch 'master' of git@github.com:sustrik/zeromq2 2010-03-20 19:51:29 +01:00
Martin Sustrik
93bdb792a9 PUB socket was blocking occassionally - fixed 2010-03-20 19:50:36 +01:00
Martin Sustrik
f031677100 rollback of half-processed messages in case of disconnection 2010-03-20 15:04:30 +01:00
Martin Sustrik
dfdaff5eba XREP-style prefixing/trimming messages removed 2010-03-20 10:58:59 +01:00
Martin Sustrik
cbaf10978a fixes for building with Sun CC 2010-03-19 09:14:26 +01:00
Martin Sustrik
61ad236e95 ZMQ_NOFLUSH and zmq_flush obsoleted 2010-03-13 14:40:10 +01:00
Martin Sustrik
c42343d3f0 pipe_t::rollback removes only unfinished message from the pipe rather than all unflushed messages 2010-03-13 12:34:55 +01:00
Martin Sustrik
66b67fbdf2 devices are built unconditionally 2010-03-12 18:58:29 +01:00
Martin Hurton
6badd204d5 Implement flow control for ZMQ_REP sockets 2010-03-12 11:07:39 +01:00
Martin Hurton
923609b092 Implement flow control for ZMQ_REQ sockets 2010-03-12 11:07:39 +01:00
Martin Hurton
42e575cb6b Implement flow control fox ZMQ_XREP sockets 2010-03-12 11:07:39 +01:00
Martin Hurton
e34184acc3 Implement flow control for ZMQ_XREQ sockets 2010-03-12 11:07:38 +01:00
Martin Hurton
06d7a44737 Implement flow control for ZMQ_PUB sockets 2010-03-12 11:07:38 +01:00
Martin Hurton
f9c84a1a68 Implement flow control for ZMQ_DOWNSTREAM sockets 2010-03-12 11:07:38 +01:00
Martin Hurton
5d4f6b18cd Implement flow control for ZMQ_P2P sockets 2010-03-12 11:07:38 +01:00
Martin Hurton
f9521c6b6a PGM: implement flow control 2010-03-12 11:07:38 +01:00
Martin Hurton
61ee6fae53 Implement flow control
This commit introduces the necessary changes necessary
for implementing flow control. None of the socket types
implements the flow control yet. The code will crash when
the flow control is enabled and the thw lwm is reached.

The following commits will add flow-control support for
individual socket types.
2010-03-12 11:07:38 +01:00
Martin Lucina
27e2d08449 Restructure language bindings
C and C++ headers moved from bindings/ to include/, bindings/ removed
--with-c and --with-cpp options to configure removed, C and C++ now built
and installed by default
2010-03-11 20:33:27 +01:00
Martin Sustrik
d790940fd0 udp transport renamed to epgm 2010-03-09 18:14:49 +01:00
Martin Sustrik
5a776f5597 PGM late joiners would start receiving a complete message rather than a message part 2010-03-09 17:34:28 +01:00
Martin Sustrik
0f891e091c message flags from the wire are written to zmq_msg_t and vice versa 2010-03-09 17:24:42 +01:00
Martin Sustrik
531c6af0d4 message flags added to zmq_msg_t strcuture 2010-03-09 16:56:53 +01:00
Martin Sustrik
96ccc1c5fc 'flags' fields added to the wire format 2010-03-09 15:10:44 +01:00
Martin Sustrik
e04e2cdbba rollback functionality added to pipe 2010-03-09 08:43:20 +01:00
Martin Sustrik
9481c69b0f problem with NIC name resolution on OSX fixed 2010-03-06 16:32:19 +01:00
Martin Lucina
26b0aea24f Win32 build fixes 2010-03-03 17:01:08 +01:00
unknown
352da8ae87 type mismatch in tcp_listener (win version) fixed 2010-03-03 15:47:21 +01:00
Martin Hurton
14054ecce7 Fix typo: zmq_close -> zmq_msg_close 2010-03-03 09:58:37 +01:00
Martin Hurton
708298d798 Fix possible lockups when reading from ZMQ_REP sockets 2010-03-03 08:00:30 +01:00
unknown
157a66fc42 polling on POSIX sockets returns POLLERR (win32) 2010-03-01 18:33:16 +01:00
Martin Sustrik
4e7158b67d return POLLERR from polling on POSIX sockets (linux version) 2010-03-01 17:40:39 +01:00
Martin Lucina
efefa069b2 Cygwin support 2010-02-26 20:03:58 +01:00
Martin Sustrik
ed8fe68383 handle invalid PGM connection string decently 2010-02-24 17:27:31 +01:00
Martin Sustrik
be51cfa419 Merge branch 'master' of git@github.com:sustrik/zeromq2 2010-02-24 16:19:53 +01:00
Martin Sustrik
0b4172b868 minor cast issues on cygwin fixed 2010-02-24 16:19:14 +01:00
unknown
b7f01f9071 chat example removed from win build; missing fd_signaler_t::poll on win added 2010-02-24 15:33:03 +01:00
Martin Sustrik
476ebde628 use binary UUIDs instead of string representation to save some bytes 2010-02-24 13:02:29 +01:00
Martin Lucina
bba36e6ee6 Disable IPv6 support
The current IPv6 support is half-assed and breaks for too many people.
Revert back to IPv4 only for now.
2010-02-24 12:07:24 +01:00
Martin Sustrik
2441ef11a2 zmq_errno helper function added 2010-02-23 23:28:25 +01:00
Martin Sustrik
2dd55605ea recv fails after polling for IN on REQ socket 2010-02-23 22:13:56 +01:00
Martin Sustrik
f24955519a zmq_poll doesn't exit when infinite timeout is set and interrupt occurs 2010-02-22 18:19:26 +01:00
Martin Sustrik
8b86dcf81c build on cygwin enabled 2010-02-19 17:50:47 +01:00
Martin Sustrik
727054547f don't check for identity, if the connection is anonymous 2010-02-19 17:02:07 +01:00
Martin Sustrik
aff1f6621a Merge branch 'master' of git@github.com:sustrik/zeromq2 2010-02-19 15:25:05 +01:00
Martin Sustrik
75f571c884 Multi-hop REQ/REP, part XII., generate unique identities for anonymous connections 2010-02-19 15:24:43 +01:00
Martin Lucina
2a79a943de Add NetBSD support 2010-02-18 19:38:15 +01:00
Martin Sustrik
d008637bc4 one more attempt to fix the previous win32 problem 2010-02-17 21:16:59 +01:00
Martin Sustrik
e385319e5a recv returning -1 while errno=0 fixed 2010-02-17 20:33:00 +01:00
Martin Sustrik
9d8623b28f ZMQII-76: Bug in how replies are handled when the REQ endpoint goes away 2010-02-17 08:30:27 +01:00
Martin Sustrik
b9caa319e2 Multi-hop REQ/REP, part XI., finalise the XREQ/XREP functionality 2010-02-16 18:30:38 +01:00
Martin Sustrik
2ddce20535 Merge branch 'master' of git@github.com:sustrik/zeromq2 2010-02-16 18:03:41 +01:00
Martin Lucina
80c820d758 Cleaning up more PGM cruft 2010-02-15 23:51:05 +01:00
Martin Sustrik
5041b0bc0b fixing the previous commit :( 2010-02-15 20:35:00 +01:00
Martin Sustrik
7778010d76 care taken of the fact that AI_NUMERICSERV is not defined on OSX 10.5 2010-02-15 19:58:47 +01:00
Martin Sustrik
43620b3d35 Multi-hop REQ/REP, part X., optional delayed creation of pipes during connect 2010-02-14 13:34:48 +01:00
Martin Sustrik
4405250d93 Multi-hop REQ/REP, part IX., pass the peer identity as far as socket_base_t 2010-02-13 15:30:03 +01:00
Martin Sustrik
f5ce81f289 Multi-hop REQ/REP, part VIII., new blob_t type used for holding identity 2010-02-13 14:07:30 +01:00
Martin Sustrik
cdc2efe9b5 Multi-hop REQ/REP, part VII., identity-related algorithms rewritten 2010-02-13 13:07:33 +01:00
Martin Sustrik
923eacd28a Multi-hop REQ/REP, part VI., session 'name' renamed to 'peer_identity' 2010-02-13 09:09:40 +01:00
Martin Sustrik
2e78e48503 Multi-hop REQ/REP, part V., peer identity is passed from init object to session 2010-02-12 20:49:00 +01:00
Martin Sustrik
d8430f4b9a Multi-hop REQ/REP, part IV., add command deallocation mechanism 2010-02-12 20:03:02 +01:00
Martin Sustrik
313b5dfadd Multi-hop REQ/REP, part III., change 'type' in options to simple 'traceroute' flag 2010-02-12 19:42:35 +01:00
Martin Sustrik
96e0442332 Merge branch 'master' of git@github.com:sustrik/zeromq2 2010-02-12 15:58:22 +01:00
Martin Sustrik
36a576370c Multi-hop REQ/REP, part I., tracerouting switched on on XREP socket 2010-02-12 15:57:54 +01:00
Martin Hurton
dc8f4b1b76 Fix memory leak in bind() 2010-02-12 15:20:43 +01:00
Martin Sustrik
7b4cf2a4d0 Multi-hop REQ/REP, part I., socket type is known to all associated objects 2010-02-12 13:33:50 +01:00
Martin Hurton
cd7300fd4f Resolve command starvation in recv() 2010-02-12 12:53:19 +01:00
Martin Lucina
30b967e2a4 Integrate version numbering into autoconf
configure.in is now the master source for the package version number,
this propagates to src/platform.hpp (for zmq_version) and doc/Makefile.am
(for documentation generation) automagically.
2010-02-11 17:49:40 +01:00
Martin Sustrik
bd9213e712 ZMQII-72: Add zmq_version function 2010-02-11 10:29:33 +01:00
Martin Hurton
7cab423fc2 Merge branch 'master' of github.com:sustrik/zeromq2 2010-02-10 17:14:21 +01:00
Martin Hurton
bc9b7f1f54 lb: bugfix - never skip active pipe when sending msg 2010-02-10 17:12:54 +01:00
Martin Hurton
6b3c1798e7 fq: bugfix - don't read msg from inactive pipe 2010-02-10 16:59:17 +01:00
Martin Sustrik
2d44bf3644 ZMQII-69: Make 0MQ build on HP-UX 2010-02-10 11:04:28 +01:00
Martin Sustrik
8c25bab31d ZMQII-70: zmq_poll on win32 fails with EINVAL 2010-02-10 10:42:54 +01:00
Martin Sustrik
8f86cac2f6 ZMQII-69: Make 0MQ build on HP-UX 2010-02-09 19:23:15 +01:00
Martin Sustrik
4c870ede7f ZMQII-57: Shutdown OpenPGM library 2010-02-09 09:08:37 +01:00
Martin Sustrik
01533a5aef ZMQII-65: Two OS threads are mapped to the same app_thread_t 2010-02-08 18:37:48 +01:00
Martin Sustrik
7593d815ac ZMQII-64: First message stuck in 0MQ in case of immediate disconnection 2010-02-08 10:34:12 +01:00
Martin Sustrik
427bc3276a minor code cleanup 2010-02-07 16:24:14 +01:00
Martin Sustrik
b0ee6b0c8a ZMQII-62: zmq_close after sending message via P2P socket fails 2010-02-07 11:31:05 +01:00
Martin Sustrik
bbaa494fb5 ZMQII-59: TCP server crashes sometimes when message is send and socket is closed immediately 2010-02-07 09:14:43 +01:00
Martin Sustrik
d21bf21a36 allow async connect on Win32 return WSAECONNABORTED 2010-02-05 13:00:49 +01:00
Martin Sustrik
0888fcd06f yqueue_t uses malloc/free instead of new/delete 2010-02-04 23:58:41 +01:00
Martin Sustrik
30076c4f7a ZMQII-58: TCP connecting asserts on Win32 (same fix for POSIX) 2010-02-04 17:46:47 +01:00
unknown
c46b7ed197 ZMQII-58: TCP connecting asserts on Win32 2010-02-04 17:40:04 +01:00
Martin Sustrik
bc90231227 contrain interface name resolving in OpenPGM to IPv4 interfaces 2010-02-04 09:39:57 +01:00
Martin Sustrik
0f697fe2b4 ZMQII-56: Avoid allocation of chunk in yqueue.hpp by keeping a spare one 2010-02-03 20:04:44 +01:00
Martin Lucina
72bbc92b70 Merge branch 'master' of github.com:sustrik/zeromq2 2010-02-03 15:54:39 +01:00
Martin Lucina
6502c16a7f Update OpenPGM to 2.0.23rc8 2010-02-03 15:52:11 +01:00