Commit Graph

2939 Commits

Author SHA1 Message Date
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
Martin Sustrik
7c25feb51b ZMQII-55: At most one PGM/UDP transport can be opened 2010-02-03 13:06:34 +01:00
Martin Sustrik
9cee8f9c3e problem with PGM messages larger than 1 MTU fixed 2010-02-02 15:11:25 +01:00
Martin Sustrik
27e47bdcc0 ZMQII-54: Affinity isn't honoured 2010-02-02 13:29:31 +01:00
Martin Sustrik
5d16070ffc ZMQII-53: Memory leak when using invalid socket type 2010-02-02 08:46:35 +01:00
Martin Sustrik
a1e70f2957 ZMQII-52: Asserion during reconnection 2010-02-02 08:27:38 +01:00
Martin Sustrik
00b9a5dede ZMQII-51: Implement O(1) topic matching 2010-01-31 20:14:30 +01:00
Martin Sustrik
70ea8e9d4b ZMQII-48: Implement P2P socket type 2010-01-30 13:40:50 +01:00
malosek
e5ff617c4e fixed OpenPGM compilation on mingw32 2010-01-27 20:58:40 +01:00
malosek
8f57ff4634 fixed OpenPGM compilation on mingw32 2010-01-27 20:45:43 +01:00
malosek
0b97e7a4f2 libpgm updated to 2.6.21rc6 2010-01-27 11:30:22 +01:00
Martin Sustrik
943125bd12 Hard-wired constant on OpenVMS replaced by symbolic constant 2010-01-27 08:47:01 +01:00
unknown
aa27034db5 IPv6 patch - part V. (win32) 2010-01-24 08:38:18 +01:00
Martin Sustrik
adc5d7693d IPv6 patch - part IV. 2010-01-24 08:19:02 +01:00
Martin Sustrik
fca9a2159a Merge branch 'master' of git@github.com:sustrik/zeromq2 2010-01-23 11:14:53 +01:00
Martin Sustrik
079d327670 IPv6 patch - part III. 2010-01-23 11:14:30 +01:00
unknown
454f43a45b IP address resolving on Win32 fixed 2010-01-23 09:08:31 +01:00
Martin Sustrik
2634934999 IPv6 patch part 2/2 2010-01-23 08:19:30 +01:00
Martin Sustrik
6aaf095dd2 IPv6 support -part II. 2010-01-22 16:32:48 +01:00
Martin Sustrik
34d65e22c5 Tero Marttila's Ipv6 patch - part I. 2010-01-22 13:13:52 +01:00
unknown
d1e09578b2 Hardcoded loopback address removed from fd_signaler 2010-01-22 07:54:16 +01:00
Martin Sustrik
f0757c003e ZMQII-43: Race condition when writing to pipe 2010-01-21 09:58:49 +01:00
Martin Sustrik
6a46ca75e5 ZMQ-42: Building with ICC fails 2010-01-20 09:22:41 +01:00
Martin Sustrik
bddff50271 ZMQII-40: wrong return code from recolve_ip_interface 2010-01-18 11:01:41 +01:00
Martin Sustrik
51e012c446 Solaris build fixed 2010-01-16 09:39:44 +01:00
unknown
a507d16e13 Win32 build fixed 2010-01-15 14:21:20 +01:00
Martin Sustrik
2bb57ac57a ZMQII-39: Implement IPC transport 2010-01-15 14:11:39 +01:00
unknown
b9b0124d55 ZMQII-34: ensure that poll won't return POLLIN event when the message will be filtered out anyway (Win32) 2010-01-14 15:50:12 +01:00
Martin Sustrik
067ba3b9f7 ZMQII-34: ensure that poll won't return POLLIN event when the message will be filtered out anyway (POSIX) 2010-01-13 19:21:23 +01:00
Martin Sustrik
20a8edcf5c ZMQII-38: Compiler complains about missing virtual constructors 2010-01-13 13:24:29 +01:00
Martin Sustrik
bcd278a5a5 ZMQII-37: SIGSEGV when polling on REQ socket 2010-01-12 08:14:55 +01:00
Martin Sustrik
bd07baf028 ZMQII-33: zmq_poll may exceed timeout if signal interrupts the waiting 2010-01-09 22:24:59 +01:00
Martin Sustrik
e806615dd1 ZMQII-31: memory leak in zmq_poll (on timeout) 2010-01-08 15:44:51 +01:00
Martin Sustrik
ddf5f75549 zmq.cpp build probelm on non-linux platforms fixed 2010-01-07 14:44:43 +01:00
malosek
e21b33e9cf forced WINVER to 0x0501 for mingv32 build 2010-01-05 18:34:27 +01:00
Martin Sustrik
ef049efe2e perf tests modified to reflect change in subscription format 2010-01-05 14:45:10 +01:00
malosek
11fec367d1 added pending event fd handling by the pgm_sender 2010-01-05 11:22:14 +01:00
Martin Sustrik
4f6baf4dde Copyrights transferred from FastMQ to iMatix 2010-01-05 08:29:35 +01:00
Martin Sustrik
f2b235db16 ZMQII-29: Add timeout to zmq_poll function 2010-01-04 15:46:20 +01:00
malosek
1b90e5f6f5 added missing likely.hpp file into the dist 2009-12-31 16:53:00 +01:00
malosek
9bda63cd63 fixed minor gcc warning in src/pgm_receiver.cpp 2009-12-31 16:35:04 +01:00
malosek
9fadf0b218 fixed minor gcc warning in src/pgm_socket.cpp 2009-12-31 16:18:45 +01:00
Martin Sustrik
23e5c3b342 polling on SUB socket fixed 2009-12-29 07:53:33 +01:00
Martin Sustrik
72161fb075 format of subscriptions changed (no * needed anymore) 2009-12-28 21:29:31 +01:00
unknown
c97967ed4b MSVC build fixed 2009-12-28 16:20:21 +01:00
Martin Sustrik
5852db451a PGM code cleanup 2009-12-28 11:51:06 +01:00
Martin Sustrik
aebff623f3 ZMQII-28: Bidirectional introduction on TCP connection establishment 2009-12-23 19:37:56 +01:00
Martin Sustrik
b3bd4c15fe OpenPGM error handling fixed 2009-12-22 09:01:01 +01:00
Martin Sustrik
7cf18a2aec minor fixes 2009-12-21 20:45:52 +01:00
Martin Sustrik
5a0674dfec OpenPGM error handling improved 2009-12-21 18:50:24 +01:00
Martin Sustrik
86d68cbcbd memory leaks related to OpenPGM errors fixed 2009-12-18 14:19:28 +01:00
Martin Sustrik
ab5abf6c7e hint parameter added to zmq_free function 2009-12-16 15:08:37 +01:00
Martin Sustrik
7479871cde Merge branch 'master' of git@github.com:sustrik/zeromq2 2009-12-15 23:50:32 +01:00
Martin Sustrik
8aa0908635 all news converted to nothrow variant 2009-12-15 23:49:55 +01:00
unknown
3e64083667 win32 build fixed 2009-12-15 18:00:00 +01:00
Martin Sustrik
2cef05d869 reconnection mechanism added to tcp transport 2009-12-15 17:49:40 +01:00
Martin Sustrik
14b112301e handle error during connecting by eventual reconnection 2009-12-15 13:58:21 +01:00
Martin Sustrik
e49115224a zmq_encoder/decoder are able to add/trim prefixes from messages; fair queueing and load balancing algorithms factorised into separate classes 2009-12-15 09:09:19 +01:00
Martin Sustrik
bd792faa9d ZMQ_SNDBUF and ZMQ_RCVBUF honoured in PGM transport 2009-12-14 11:46:30 +01:00
unknown
0637e06387 zmq_streamer & zmq_queue are built under MSVC 2009-12-13 14:59:25 +01:00
Martin Sustrik
fa6bf24d80 XREP & XREQ socket types added; zmq_queue device added 2009-12-13 14:45:23 +01:00
Martin Sustrik
c43aded531 debug code removed from PGM engines 2009-12-13 11:27:43 +01:00
Martin Sustrik
f4ac8d7a44 OpenPGM v1 support removed 2009-12-13 09:56:02 +01:00
Martin Sustrik
73b765e4b4 PGM transport fixed 2009-12-13 09:11:08 +01:00
Martin Sustrik
d5670f34ba ZMQII-26: Use zero-copy for large messages (rx side) 2009-12-11 22:29:04 +01:00
Martin Sustrik
770178724f errors are never predicted in branch prediction (likely/unlikely macros added) 2009-12-10 21:34:40 +01:00
unknown
d4fdc26efc zmq_poll implemented on Win32 platform 2009-12-10 16:46:22 +01:00
unknown
986ab66b8f ZMQII-27: Allow setting SNDBUF and RCVBUF size from 0MQ API (Win32) 2009-12-10 10:39:24 +01:00
Martin Sustrik
2e39f892c3 ZMQII-27: Allow setting SNDBUF and RCVBUF size from 0MQ API (POSIX) 2009-12-10 09:47:24 +01:00
Martin Sustrik
72dacc3570 zero-copy on tx side optimised to minimise number of user/kernel space transitions 2009-12-10 08:25:21 +01:00
Martin Sustrik
cab5a4a159 minor documentation updates 2009-12-09 09:19:16 +01:00
Martin Sustrik
902d4f2282 minor fix of zero-copy on tx side 2009-12-08 16:13:51 +01:00
Martin Sustrik
9be877c685 ZMQII-26: Use zero-copy for large messages 2009-12-08 15:41:50 +01:00
Martin Sustrik
a08a72dd08 chat example added 2009-12-07 21:06:54 +01:00
Martin Sustrik
82012667cc Deadlock on zmq_close 2009-12-07 17:28:43 +01:00
Martin Sustrik
9f49594273 C & C++ header files clean-up 2009-12-05 11:20:57 +01:00
Martin Sustrik
721e37a371 platform.hpp.in removed from the codebase 2009-12-04 10:02:25 +01:00
Martin Sustrik
7146ef85e9 seqnum mechanism automated 2009-12-02 21:26:47 +01:00
Martin Sustrik
cb84580bbc harmless uninitialised memory read fixed 2009-12-01 19:09:58 +01:00
Martin Sustrik
9bd309bda6 annoying optimisation in 'bind' command removed 2009-12-01 18:50:54 +01:00
Martin Sustrik
c04583ff6c minor code beautification 2009-12-01 15:12:42 +01:00
unknown
0d704fceee MSVC warnings fixed 2009-12-01 14:58:00 +01:00
malosek
c637bf292d Merge branch 'master' of git@github.com:sustrik/zeromq2 2009-11-30 16:45:36 +01:00
malosek
9ccf2b42cf minor tweaks in pgm code 2009-11-30 16:45:18 +01:00
Martin Sustrik
8d85638f77 memory leak in message encoder fixed 2009-11-26 12:01:26 +01:00
Martin Sustrik
92aa9e94e2 experimental code to use futexes instead of mutexes added to simple_semapthore_t 2009-11-25 08:55:03 +01:00
Martin Sustrik
c98fd6bc3f ZMQII-25: Implement streamed request/reply 2009-11-24 11:23:10 +01:00
Martin Sustrik
c41daca3da race condition in inproc transport shutdown fixed 2009-11-21 21:30:09 +01:00
Martin Sustrik
64634605b3 obsolete parameter removed from 'bind' command 2009-11-21 21:13:29 +01:00
Martin Sustrik
0e9ab2e8a3 inproc transport - initial commit 2009-11-21 20:59:55 +01:00
Martin Sustrik
14f2fecdcd ZMQII-24: SEGFAULT when anonymous session disconnects 2009-11-19 09:53:49 +01:00
Martin Sustrik
c2e0661b0a uninitialised variable in devpoll_t and kqueue_t 2009-11-19 08:06:52 +01:00
Martin Sustrik
26ca5ed8c6 Fixing concurrency issue in rep.cpp resulting in broken connections with multiple requesters under heavy load. 2009-11-14 18:57:04 +01:00
malosek
84585a9561 pgm_transport_recvmsgv in process_upstream returns PGM_IO_STATUS_RATE_LIMITED on busy sender 2009-11-04 18:59:19 +01:00
malosek
c2cd7977f7 update pgm_socket to recent openpgm2 2009-11-03 19:54:43 +01:00
malosek
08b02a43ae fixed get_sender_fds and get_receiver_fds for openpgm2 2009-11-03 14:11:53 +01:00
malosek
7d672d3ab8 minor fixes for MSVC++ 2005 build 2009-11-03 14:06:25 +01:00
Martin Sustrik
7cbdcc9542 ZMQII-21: Problem with fd_signaler_t::poll on socket close 2009-10-22 13:21:27 +02:00
malosek
8b08047cb0 added --with-pgm2-examples configure option 2009-10-19 19:00:04 +02:00
malosek
50c7d12be6 added HAVE_LIBWS2_32 into platform.hpp.in 2009-10-12 22:53:11 +02:00
malosek
0ce02058eb updated 0MQ to recent OpenPGM2 rev.562 2009-10-12 22:51:41 +02:00
malosek
7afc61ae7c 0MQ compilable on winXP mingw with --with-pgm2 option 2009-10-06 12:57:24 +02:00
malosek
ac83175ef0 updated to recent PGM2 changes 2009-10-05 16:57:26 +02:00
malosek
3daeff2786 mingw port 2009-10-05 15:06:40 +02:00
malosek
14dc1f45cd build system tuning - fixed make dist 2009-10-05 12:28:34 +02:00
malosek
b0c97a5f8b build system tuning 2009-10-05 10:37:49 +02:00
malosek
d57ee0984a Merge branch 'master' of git@github.com:sustrik/zeromq2 2009-10-05 10:22:31 +02:00
malosek
e1b9fcd4b1 moved pgm_create_custom_gsi into PGM1 and drop ssl dependency 2009-10-05 10:18:24 +02:00
Martin Sustrik
4efe2366d7 poller is a concept now rather than virtualised class 2009-10-02 10:46:36 +02:00
Martin Sustrik
4a3b4dadea ZMQII-9: Check and implement speculative reads & writes 2009-10-02 09:42:13 +02:00
unknown
49a9ef5fcb windows error handling improved 2009-10-01 13:48:04 +02:00
Martin Sustrik
cc631c4c66 ZMQII-18: Implement I/O multiplexing (first approximation) 2009-10-01 10:56:17 +02:00
Martin Sustrik
f2ff2c6e5c checking for available messages added to ypipe/pipe 2009-09-30 10:08:35 +02:00
malosek
64e68e7486 detecting data loss for PGM2 receiver 2009-09-29 13:56:19 +02:00
malosek
39d915ded8 PGM2 sender 2009-09-28 18:06:06 +02:00
malosek
cf6cc0128f pgm2 receiver working (partly) 2009-09-25 17:50:12 +02:00
malosek
72c5c5fff4 --with-pgm2 compilable 2009-09-24 16:23:49 +02:00
malosek
33afdcd1ad added --with-pgm2 into build system 2009-09-24 12:43:35 +02:00
Martin Sustrik
b0a1a16fc2 Merge branch 'master' of git@github.com:sustrik/zeromq2 2009-09-23 10:23:53 +02:00
Martin Sustrik
088a2db674 ZMQII-16: Change "struct zmq_msg_t" to "zmq_msg_t" in C binding 2009-09-23 10:22:54 +02:00
malosek
2521130769 ZMQII-14: Change default for ZMQ_MCAST_LOOP to true 2009-09-23 10:22:39 +02:00
malosek
85cbd7f83c added PGM bus functionality 2009-09-22 15:12:51 +02:00
Martin Sustrik
a0db7f6b81 POSIX error codes unsupported on win platform faked 2009-09-22 12:08:18 +02:00
Martin Sustrik
e136d923b7 ZMQ-specific error codes added 2009-09-22 11:52:35 +02:00
Martin Sustrik
cc8136896d documentation in zmq.h improved 2009-09-22 10:57:46 +02:00
Martin Sustrik
e6ca5da181 Windows build fixed 2009-09-22 08:30:15 +02:00
Martin Sustrik
b15f695976 different fixes to req/rep 2009-09-21 17:20:13 +02:00
Martin Sustrik
cb1b6fe32c initial version of req/rep sockets 2009-09-21 14:39:59 +02:00
Martin Sustrik
7668b246fc ZMQ_POLL option forces fd_signaler to be used in app_thread 2009-09-20 12:03:14 +02:00
Martin Sustrik
495a2228cd MSVC warnings removed 2009-09-20 10:58:00 +02:00
Martin Sustrik
f99b8fc921 receiving side of signaler virtualised 2009-09-20 10:47:27 +02:00
Martin Sustrik
50a8b9ea0c 'flags' parameter added to zmq_init 2009-09-20 10:14:21 +02:00
malosek
dffbdbb60c fixed compiler warning cast from uint64 to bool in socket_base.cpp 2009-09-17 11:31:28 +02:00
malosek
3ebe9932f9 Merge branch 'master' of git@github.com:sustrik/zeromq2 2009-09-16 17:07:15 +02:00
malosek
1b2a426656 c and cpp directories moved into bindings directory 2009-09-16 16:49:09 +02:00
Martin Sustrik
d16b3bc0c9 Merge branch 'master' of git@github.com:sustrik/zeromq2 2009-09-16 15:52:39 +02:00
Martin Sustrik
35c58dc733 ZMQII-1: fix for devpoll, kqueue & poll 2009-09-16 15:37:20 +02:00
malosek
10dd8c5346 Merge branch 'master' of git@github.com:sustrik/zeromq2 2009-09-16 15:36:56 +02:00
malosek
03d494d4f0 added udp:// transport prefix for PGM UDP encapsulation 2009-09-16 15:36:38 +02:00
Martin Sustrik
f1c72d693e ZMQII-4: Failure in dev/poll poller 2009-09-16 15:26:49 +02:00
Martin Sustrik
a71d002880 Merge branch 'master' of git@github.com:sustrik/zeromq2 2009-09-16 14:03:42 +02:00
Martin Sustrik
4631fde7e3 ZMQII-8: Failure during orphan pipe deallocation 2009-09-16 14:02:43 +02:00
malosek
7a5db6041f added newly added socket options to all language bindings, P2P model changed to PUB/SUB for throughput tests 2009-09-16 12:22:36 +02:00
Martin Sustrik
9c522dccaf reconnect added to zmq_connecter 2009-09-16 11:02:18 +02:00
Martin Sustrik
6e03cb2f3e Merge branch 'master' of git@github.com:sustrik/zeromq2 2009-09-16 10:56:55 +02:00
malosek
9fbdcc7940 removed reset method from zmq_decoder_t 2009-09-16 10:35:23 +02:00
malosek
969522bbf5 added OpenPGM receiver - ZMQ_SUB 2009-09-16 10:11:01 +02:00
Martin Sustrik
bce2e60bbb more errors from send & recv handled decently on windows 2009-09-16 09:50:39 +02:00
malosek
0381a78c04 added reset method into zmq_decoder_t class 2009-09-15 13:47:15 +02:00
malosek
7653f34df0 fixed pub_t class creating ZMQ_SUB socket_base_t 2009-09-15 12:00:48 +02:00
malosek
3a3bcd337f pgm_sender code beautiication 2009-09-15 09:57:11 +02:00
malosek
f44b215a60 added out_event call into pgm_sender_t revive 2009-09-15 09:47:25 +02:00
malosek
364281343c Merge branch 'master' of git@github.com:sustrik/zeromq2 2009-09-15 09:44:44 +02:00
malosek
bdf22e9c2f deleted useles iostream include from socket_base.cpp 2009-09-15 09:43:42 +02:00
Martin Sustrik
2bc9419ced ZMQII-10: Make connections interrupted during the init phase be closed silently 2009-09-14 13:54:30 +02:00
Martin Sustrik
37cacc5700 ZMQII-1: Win32 - failure on shutdown 2009-09-14 12:28:13 +02:00
Martin Sustrik
c806aabb2d java binding sets socket options using setsockopt function 2009-09-14 11:25:57 +02:00
Martin Sustrik
36707529a7 minor merge problem corrected 2009-09-14 09:40:35 +02:00
Martin Sustrik
89b1f2782c Merge branch 'master' of git@github.com:sustrik/zeromq2 2009-09-11 18:18:25 +02:00
Martin Sustrik
47350adcb6 separate class for PUB-style socket added 2009-09-11 18:16:47 +02:00
malosek
1a4d6f9119 added OpenPGM sender - ZMQ_PUB 2009-09-11 17:58:37 +02:00
Martin Sustrik
e940878b3f build on win32 fixed 2009-09-11 16:59:47 +02:00
Martin Sustrik
7be7962f98 prefix-style message filtering added 2009-09-11 16:23:16 +02:00
Martin Sustrik
42ad2aa02d ZMQII-7: Pipe detach fails on shutdown 2009-09-11 15:51:35 +02:00
Martin Sustrik
29c5930d0b asserts for invalid indexes in pipe reader & writer added 2009-09-11 14:17:57 +02:00
Martin Sustrik
5daa0dec0f ZMQII-5: Only one consumer in a process gets the message 2009-09-11 13:20:24 +02:00
Martin Sustrik
f824b8a067 classify error from async connect as network related or 0MQ bugs 2009-09-10 16:59:22 +02:00
Martin Sustrik
f674c9269e ZMQII-2: SIGSEGV in zmq_connecter_init_t::read 2009-09-10 16:32:06 +02:00
malosek
95944551be Merge branch 'master' of git@github.com:sustrik/zeromq2 2009-09-10 12:04:26 +02:00
Martin Sustrik
b3f32e219e ZMQII-3: cheap and nasty implementation of message filtering 2009-09-10 12:00:47 +02:00
malosek
5acef9fc96 added --with-pgm option, libpgm-1.2.14 build within 0mq build system 2009-09-10 11:21:05 +02:00
Martin Sustrik
4d07d7cabe fix of async connect on win32 2009-09-09 10:08:46 +02:00
Martin Sustrik
c99f39abc6 Merge branch 'master' of git@github.com:sustrik/zeromq2 2009-09-09 09:07:11 +02:00
Martin Sustrik
37d8371967 async connect bug fixed 2009-09-09 09:03:30 +02:00
malosek
734a62c12d Sparc solaris port 2009-09-08 16:55:03 +02:00
malosek
844b590b5e added libzmq.pc.in file 2009-09-08 15:06:08 +02:00
malosek
2a4a10c8be build system tuning 2009-09-08 14:54:04 +02:00
unknown
ec6822a477 win port for c and cpp perf tests 2009-09-08 11:30:49 +02:00
malosek
b71c3005e6 include directory split into c and cpp dirs, added --with-c and --with-cpp configure options 2009-09-07 17:06:47 +02:00
unknown
f895426c18 initial changes for win port 2009-09-07 15:41:43 +02:00
Martin Sustrik
4307baf7bc python binding functional 2009-09-04 16:02:41 +02:00
Martin Sustrik
103cbee6a5 couple of bugs fixed 2009-09-04 09:51:42 +02:00
Martin Sustrik
4914e5c9d1 O(1) socket removal 2009-09-02 16:16:25 +02:00
Martin Sustrik
f92de9b2a9 bug during terminal shutdown fixed 2009-09-02 14:59:53 +02:00
Martin Sustrik
702fdbb5dd messages that may have been received in the init phase are flushed immediately after engine is plugged in 2009-09-02 11:58:39 +02:00
Martin Sustrik
75a5a8732c --disable-shared & C perf tests: a better way 2009-09-02 10:59:31 +02:00
Martin Sustrik
5e08a89d1c Merge branch 'master' of git@github.com:sustrik/zeromq2 2009-09-02 10:23:01 +02:00
Martin Sustrik
6a5120b1f1 python extension & perf tests 2009-09-02 10:22:23 +02:00
Martin Hurton
0aacee389f POSIX threads don't use errno to report errors
Fix simple_semaphore to follow POSIX threads convention for reporting
errors.
2009-08-31 13:31:01 +02:00
Martin Sustrik
176879e5bb engine virtualised; chatroom example removed 2009-08-30 08:18:31 +02:00
tamara
1d650934e4 Ruby bidning added 2009-08-29 11:31:32 +02:00
Martin Sustrik
3666a49022 bug in identifying current thread fixed 2009-08-29 10:32:21 +02:00
Martin Sustrik
6996ef6f1a improved error handling 2009-08-29 09:41:50 +02:00
Martin Sustrik
cb09c6951e pipe deallocation added 2009-08-28 16:51:46 +02:00
Martin Sustrik
2dd5016515 multiple bugs fixed 2009-08-27 16:24:21 +02:00
Martin Sustrik
99c5d92836 pipes added 2009-08-27 10:54:28 +02:00
Martin Sustrik
6be4b01437 session management implemented 2009-08-21 14:29:22 +02:00
Martin Sustrik
a801b6d8b3 couple of bugs in shutdown mechanism fixed 2009-08-20 11:32:23 +02:00
Martin Sustrik
131f2e3096 subscribe API removed 2009-08-17 14:07:34 +02:00
Martin Sustrik
059beca59d listener/connecter/init/session added 2009-08-12 09:40:16 +02:00
Martin Sustrik
bda766ab40 redundant interface (i_api) removed 2009-08-09 16:30:22 +02:00
Martin Sustrik
9f1f823b7b zmq_listener/zmq_connecter implemented 2009-08-09 16:12:09 +02:00
Martin Sustrik
3147ff8523 getsockopt implemented 2009-08-09 11:57:21 +02:00
Martin Sustrik
bde396f156 fix to 3-thread synchronisation algorithm 2009-08-09 11:21:47 +02:00
Martin Sustrik
5b5b513330 socket options interface modeled as in BSD sockets 2009-08-09 09:24:48 +02:00
Martin Sustrik
a8b410e66c lockfree interaction patter for 3 theads implemented 2009-08-08 16:01:58 +02:00
Martin Sustrik
0b5cc026fb clean up - session/socket/engine stuff removed 2009-08-06 12:51:32 +02:00
Martin Sustrik
b8b4acef4c dispatcher renamed to context 2009-08-06 10:47:34 +02:00
Martin Sustrik
cc3755a16f renamed from zs to zmq 2009-08-03 11:30:13 +02:00
Martin Sustrik
4ed70a9302 initial commit 2009-07-29 12:07:54 +02:00