summaryrefslogtreecommitdiff
path: root/src/zmq_connecter.cpp
AgeCommit message (Collapse)Author
2011-05-17Better handling of memory error in resolve_ip_hostnamePaul Colomiets
Signed-off-by: Paul Colomiets <pc@gafol.net>
2011-03-02The copyrights in file headers updated.Martin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-02-22Added explicit error message in case of memory exhaustionMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-02-17Add delay before reconnectingMartin Sustrik
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-01-26ZMQ_RECONNECT_IVL_MAX socket option addedThijs Terlouw
It allows for exponential back-off strategy when reconnecting. Signed-off-by: Thijs Terlouw <thijsterlouw@gmail.com>
2010-10-30Name of "GNU Lesser Public License" corrected.Martin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-17ZMQ_RECONNECT_IVL socket options added.Martin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-16ZMQ_LINGER socket option added.Martin Sustrik
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-08Fix missing platform.hpp in zmq_connecter.cppMartin Lucina
Missed testing on Win32 Signed-off-by: Martin Lucina <mato@kotelna.sk>
2010-10-08Scalability improvements for large amounts of connectionsMartin Lucina
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-09-26timers properly implementedMartin Sustrik
2010-09-26new interfaces for timers; the implementation is not changed yetMartin Sustrik
2010-09-09when no I/O threads are available error is raised instead of assertionMartin Sustrik
2010-08-25connecter object unregisters its fd correctlyMartin Sustrik
2010-08-25I/O object hierarchy implementedMartin Sustrik
2010-01-15ZMQII-39: Implement IPC transportMartin Sustrik
2010-01-05Copyrights transferred from FastMQ to iMatixMartin Sustrik
2009-12-23ZMQII-28: Bidirectional introduction on TCP connection establishmentMartin Sustrik
2009-12-15all news converted to nothrow variantMartin Sustrik
2009-12-15reconnection mechanism added to tcp transportMartin Sustrik
2009-12-15handle error during connecting by eventual reconnectionMartin Sustrik
2009-12-02seqnum mechanism automatedMartin Sustrik
2009-09-16ZMQII-4: Failure in dev/poll pollerMartin Sustrik
2009-09-16reconnect added to zmq_connecterMartin Sustrik
2009-09-09fix of async connect on win32Martin Sustrik
2009-09-09async connect bug fixedMartin Sustrik
2009-09-07initial changes for win portunknown
2009-08-21session management implementedMartin Sustrik
2009-08-20couple of bugs in shutdown mechanism fixedMartin Sustrik
2009-08-12listener/connecter/init/session addedMartin Sustrik
2009-08-09zmq_listener/zmq_connecter implementedMartin Sustrik