Paul Colomiets
38e5f8699c
Better handling of memory error in resolve_ip_hostname
...
Signed-off-by: Paul Colomiets <pc@gafol.net>
2011-05-17 10:12:27 +02:00
Martin Sustrik
18b9ebea32
The copyrights in file headers updated.
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-02 16:30:40 +01:00
Martin Sustrik
43e8868875
Added explicit error message in case of memory exhaustion
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-02-22 16:23:36 +01:00
Martin Sustrik
28f3e87fc6
Add delay before reconnecting
...
So far ZMQ_RECONNECT_IVL delay was used only when TCP connect
failed. Now it is used even if connect succeeds and the peer
closes the connection afterwards.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-02-17 10:33:38 +01:00
Thijs Terlouw
f7f1dfc86d
ZMQ_RECONNECT_IVL_MAX socket option added
...
It allows for exponential back-off strategy when reconnecting.
Signed-off-by: Thijs Terlouw <thijsterlouw@gmail.com>
2011-01-26 07:01:06 +01:00
Martin Sustrik
b358df9fff
Name of "GNU Lesser Public License" corrected.
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-30 15:08:28 +02:00
Martin Sustrik
e8e2944f45
ZMQ_RECONNECT_IVL socket options added.
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-17 09:54:12 +02:00
Martin Sustrik
0a03e86e95
ZMQ_LINGER socket option added.
...
1. ZMQ_LINGER option can be set/get
2. options are part of own_t base class rather than being declared
separately by individual objects
3. Linger option is propagated with "term" command so that the
newest value of it is used rather than the stored old one.
4. Session sets the linger timer if needed and terminates
as soon as it expires.
5. Corresponding documentation updated.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-16 10:53:29 +02:00
Martin Lucina
214b56077a
Fix missing platform.hpp in zmq_connecter.cpp
...
Missed testing on Win32
Signed-off-by: Martin Lucina <mato@kotelna.sk>
2010-10-08 22:06:41 +02:00
Martin Lucina
f90c8d957e
Scalability improvements for large amounts of connections
...
Add signaler_sndbuf_size option to config.hpp which allows the user to
increase the size of the send buffer used by the signalling socketpair.
Implement random backoff for reconnection attempts using a primitive
pseudo-random generation to prevent reconnection storms.
Add wait_before_connect option to config.hpp to allow the user to enable
random delay even on initial connect. Default is false for low latency.
Signed-off-by: Martin Lucina <mato@kotelna.sk>
2010-10-08 17:49:40 +02:00
Martin Sustrik
238640a526
timers properly implemented
2010-09-26 21:42:23 +02:00
Martin Sustrik
cf815e8c78
new interfaces for timers; the implementation is not changed yet
2010-09-26 18:30:03 +02:00
Martin Sustrik
a68e6739f4
when no I/O threads are available error is raised instead of assertion
2010-09-09 08:25:00 +02:00
Martin Sustrik
46d7055565
connecter object unregisters its fd correctly
2010-08-25 15:39:21 +02:00
Martin Sustrik
d13933bc62
I/O object hierarchy implemented
2010-08-25 15:39:20 +02:00
Martin Sustrik
2bb57ac57a
ZMQII-39: Implement IPC transport
2010-01-15 14:11:39 +01:00
Martin Sustrik
4f6baf4dde
Copyrights transferred from FastMQ to iMatix
2010-01-05 08:29:35 +01:00
Martin Sustrik
aebff623f3
ZMQII-28: Bidirectional introduction on TCP connection establishment
2009-12-23 19:37:56 +01:00
Martin Sustrik
8aa0908635
all news converted to nothrow variant
2009-12-15 23:49:55 +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
7146ef85e9
seqnum mechanism automated
2009-12-02 21:26:47 +01:00
Martin Sustrik
f1c72d693e
ZMQII-4: Failure in dev/poll poller
2009-09-16 15:26:49 +02:00
Martin Sustrik
9c522dccaf
reconnect added to zmq_connecter
2009-09-16 11:02:18 +02:00
Martin Sustrik
4d07d7cabe
fix of async connect on win32
2009-09-09 10:08:46 +02:00
Martin Sustrik
37d8371967
async connect bug fixed
2009-09-09 09:03:30 +02:00
unknown
f895426c18
initial changes for win port
2009-09-07 15:41:43 +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
059beca59d
listener/connecter/init/session added
2009-08-12 09:40:16 +02:00
Martin Sustrik
9f1f823b7b
zmq_listener/zmq_connecter implemented
2009-08-09 16:12:09 +02:00