Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-10-13 | Precise timouts in zmq_poll implemented | Martin Sustrik | |
Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | |||
2010-10-13 | Clean-up of the code related to attaching/detaching engines to sessions. | Martin Sustrik | |
Session base class now handles the engine events exclusively. It notifies derived session types using dedicated "attached" and "detached" events. Couple of bugs was fixed along the way. Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | |||
2010-10-12 | Avoid duplicate creation of pipes for a single session | Martin Sustrik | |
When a session is being closed down its inbound and outbound pipe pointers are set to null. If (re) connection happens at that time, session may try to reinistantiate the pipes which is wrong. This patch allows session to attach pipes only once in its lifetime. Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | |||
2010-10-12 | Drop PGM parameters to 100mb friendly range. | Steven McCoy | |
Signed-off-by: Steven McCoy <steven.mccoy@miru.hk> | |||
2010-10-11 | Fix assertion in PGM transports on cancel_timer | Steven McCoy | |
Signed-off-by: Steven McCoy <steven.mccoy@miru.hk> | |||
2010-10-11 | Reverting commit 1d431190f50c86f62460 | Martin Sustrik | |
The patch was supposed to check that pipe writer sends messages in atomic fashion. However, it prevented the user to read half of a message and close the socket. Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | |||
2010-10-10 | When XREP silently drops message, it does not empty it -- fixed | Martin Sustrik | |
Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | |||
2010-10-09 | Execute the timers before pollset initialisation. | Christian Gudrian | |
Since executing the timers might modify the source pollsets we have to defer the initialisation until after the timers have executed. Signed-off-by: Christian Gudrian <christian.gudrian@fluidon.com> | |||
2010-10-09 | Merge branch 'maint' | Martin Sustrik | |
* maint: Version macros added Conflicts: builds/msvc/platform.hpp Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | |||
2010-10-09 | Version macros added | Martin Sustrik | |
Macro ZMQ_VERSION represents the current version of 0MQ Macro ZMQ_MAKE_VERSION(major,minor,patch) allows to create a representation of the specified version. The versions can be compared using simple <, >, ==, etc. operators. Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | |||
2010-10-08 | Fix missing platform.hpp in zmq_connecter.cpp | Martin Lucina | |
Missed testing on Win32 Signed-off-by: Martin Lucina <mato@kotelna.sk> | |||
2010-10-08 | More cleanup of session termination process. | Martin Sustrik | |
Fix in termination of session attached to a REP socket. Several fixes of session termination in case of disconnection. Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | |||
2010-10-08 | Scalability improvements for large amounts of connections | Martin 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-10-08 | Clean-up of session termination process | Martin Sustrik | |
Specifically, shutdown of child objects is initiated *before* termination handshake with socket object. Signed-off-by: Martin Sustrik <sustrik@250bpm.com> | |||
2010-10-02 | make sure that reader does not terminate in the middle of a multipart message | Nir Soffer | |
2010-10-01 | issue 92 -- Assertion failed: inpipe && outpipe (pair.cpp:86) -- fixed | Martin Sustrik | |
2010-10-01 | Merge branch 'master' of github.com:zeromq/zeromq2 | Martin Sustrik | |
2010-10-01 | assert when xrep socket gets reconnected in the middle of the shutdown -- fixed | Martin Sustrik | |
2010-09-30 | zmq_poll(): Fix busy-loop if timeout is zero | Martin Lucina | |
Fix a case where zmq_poll() (poll-based version) could go off into a busy-loop if no revents are returned and the timeout passed in is zero. | |||
2010-09-30 | Merge branch 'maint' | Martin Sustrik | |
* maint: zmq_msg_move called on uninitialised message in xrep_t::xrecv -- fixed | |||
2010-09-30 | zmq_msg_move called on uninitialised message in xrep_t::xrecv -- fixed | Max Wolf | |
2010-09-30 | fix in XREP's fair queueing mechanism | Martin Sustrik | |
2010-09-30 | minor whitespace fix | Martin Sustrik | |
2010-09-30 | FreeBSD doesn't define MSG_ERRQUEUE -- now it's defined in 0MQ | Steven McCoy | |
2010-09-30 | more fixes to (e)pgm transport | Steven McCoy | |
2010-09-30 | * Add assertions to check for OpenPGM calls with invalid parameters. | Steven McCoy | |
* Assertion to check that pgm_getaddrinfo is actually returning something. * Missing pgm_connect call. * Typo on TOS causing immediate abort. * Placeholder calls for timeouts whilst continuing spin loop functionality. * OpenPGM v5 now supports reference counting so remove init checks. * Duplicate UDP unicast port setting, requires one unicast and one multicast. * Incorrectly set socket rcvbuf size with sndbuf. * Replace std::lexicographical_compare of TSI's with long word integer comparisons. * pgm_socket_t::receive returns -1 on no data. | |||
2010-09-28 | Upgrade to OpenPGM-5.0.78 | Steven McCoy | |
2010-09-28 | ZMQ_TYPE socket option added | Gonzalo Diethelm | |
2010-09-28 | Merge branch 'maint' | Martin Sustrik | |
* maint: crash when closing an ypipe -- fixed | |||
2010-09-28 | crash when closing an ypipe -- fixed | Dhammika Pathirana | |
2010-09-28 | REQ socket can die when reply is delivered on wrong unerlying connection -- ↵ | Martin Sustrik | |
fixed | |||
2010-09-27 | MSVC build fixed | Martin Sustrik | |
2010-09-27 | latency optimisation for the case where there are no timers | Martin Sustrik | |
2010-09-26 | timers properly implemented | Martin Sustrik | |
2010-09-26 | common base for all pollers created; the only thing it handles at the moment ↵ | Martin Sustrik | |
is 'load' | |||
2010-09-26 | new interfaces for timers; the implementation is not changed yet | Martin Sustrik | |
2010-09-26 | minor beautifications | Martin Sustrik | |
2010-09-26 | clock_t class added | Martin Sustrik | |
2010-09-26 | Merge branch 'maint' | Martin Sustrik | |
* maint: if TSC jumps backwards (in case of migration to a different CPU core) latency peak may occur -- fixed Conflicts: src/app_thread.cpp | |||
2010-09-26 | if TSC jumps backwards (in case of migration to a different CPU core) ↵ | Martin Sustrik | |
latency peak may occur -- fixed | |||
2010-09-21 | minor error in comment fixed | Martin Sustrik | |
2010-09-21 | The flag in the socket has clear semantics now -- it tracks whether ↵ | Martin Sustrik | |
corresponding context was closed, it doesn't track whether zmq_close was called on the socket itself | |||
2010-09-20 | zmq_poll (select version) now correctly assumes that ZMQ_FD is edge-trigerred | Martin Sustrik | |
2010-09-20 | zmq_poll honours ZMQ_FORCE_POLL and ZMQ_FORCE_SELECT options | Martin Lucina | |
2010-09-20 | minor problem in zmq_poll (select version) fixed | Martin Lucina | |
2010-09-20 | problem with engine being attached to session while it's being terminated fixed | Martin Sustrik | |
2010-09-19 | zmq_init_t destroyed zmq_engine_t before plugging it out from the poller ↵ | Martin Sustrik | |
first -- fixed | |||
2010-09-19 | minor code reorganisation in ctx_t::terminate | Martin Sustrik | |
2010-09-19 | synchronisation problem fixed in ctx_t | Martin Sustrik | |
2010-09-19 | two races fixed in session creation | Martin Sustrik | |