- 28 Jul, 2011 2 commits
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 26 Jul, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 25 Jul, 2011 1 commit
-
-
Martin Sustrik authored
zmq_engine and tcp_socket merged into tcp_engine zmq_connecter and tcp_connecter merged into tcp_connecter zmq_listener and tcp_listener merged into tcp_listener Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 24 Jul, 2011 1 commit
-
-
Martin Sustrik authored
Removal of ZMQ_IDENTITY resulted in various session classes doing almost the same thing. This patch merges the classes into a single class. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 15 Jul, 2011 1 commit
-
-
Martin Sustrik authored
This patch simplifies the whole codebase significantly, including dropping depedency on libuuid. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 23 Jun, 2011 2 commits
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
So far the requests in req/rep pattern were delivered to and processed by worker even though the original requester was dead. Thus, the worker processing replies with noone to deliver results to. This optimisation drops requests in two situations: 1. Queued inbound requests in XREP socket when peer disconnects. 2. Queued outbound requests in XREQ when socket is closed. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 20 Jun, 2011 1 commit
-
-
Martin Sustrik authored
So far there was no distinction between message parts used by 0MQ and message parts used by user. Now, the message parts used by 0MQ are marked as 'LABEL'. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 19 Jun, 2011 1 commit
-
-
Martin Sustrik authored
When session is already terminating and reconnection happens at that point, the session should not create new pipe to its socket. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 31 May, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 30 May, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 26 May, 2011 1 commit
-
-
Martin Sustrik authored
Bug in previous refactoring fixed. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 25 May, 2011 1 commit
-
-
Martin Sustrik authored
Till now the code was spread over mutliple locations. Additionally, the code was made more formally correct, with explicit pipe state machine etc. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 22 May, 2011 1 commit
-
-
Martin Sustrik authored
So far, there was a pair of unidirectional pipes between a socket and a session (or an inproc peer). This resulted in complex problems with half-closed states and tracking which inpipe corresponds to which outpipe. This patch doesn't add any functionality in itself, but is essential for further work on features like subscription forwarding. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 21 Apr, 2011 1 commit
-
-
Martin Sustrik authored
This patch addresses serveral issues: 1. It gathers message related functionality scattered over whole codebase into a single class. 2. It makes zmq_msg_t an opaque datatype. Internals of the class don't pollute zmq.h header file. 3. zmq_msg_t size decreases from 48 to 32 bytes. That saves ~33% of memory in scenarios with large amount of small messages. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 24 Mar, 2011 2 commits
-
-
Martin Sustrik authored
These new options allow to control the maximum size of the inbound and outbound message pipe separately. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
On-disk storage should be implemented in devices rather than in 0MQ core. 0MQ is a networking library and there's no point in storing network buffers on disk. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 16 Mar, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 02 Mar, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 22 Feb, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 18 Feb, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 30 Oct, 2010 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 27 Oct, 2010 1 commit
-
-
Dhammika Pathirana authored
Signed-off-by:
Dhammika Pathirana <dhammika@gmail.com>
-
- 26 Oct, 2010 1 commit
-
-
Dhammika Pathirana authored
Signed-off-by:
Dhammika Pathirana <dhammika@gmail.com>
-
- 18 Oct, 2010 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 16 Oct, 2010 1 commit
-
-
Martin Sustrik authored
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>
-
- 13 Oct, 2010 1 commit
-
-
Martin Sustrik authored
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>
-
- 12 Oct, 2010 1 commit
-
-
Martin Sustrik authored
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>
-
- 08 Oct, 2010 2 commits
-
-
Martin Sustrik authored
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>
-
Martin Sustrik authored
Specifically, shutdown of child objects is initiated *before* termination handshake with socket object. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 19 Sep, 2010 3 commits
-
-
Martin Sustrik authored
-
Martin Sustrik authored
termination of pipe via delimiter message could stuck when no data were read from the pipe (because connection wasn't active) -- fixed
-
Martin Sustrik authored
-
- 17 Sep, 2010 1 commit
-
-
Martin Sustrik authored
-
- 25 Aug, 2010 5 commits
-
-
Martin Sustrik authored
-
Martin Sustrik authored
-
Martin Sustrik authored
-
Martin Sustrik authored
-
Martin Sustrik authored
-