- 15 Jun, 2012 2 commits
-
-
Martin Hurton authored
Calling close () when the underlying socket is invalid triggers an assertion failure.
-
Martin Hurton authored
Make start_connecting () to have singe exit point.
-
- 14 Jun, 2012 1 commit
-
-
Martin Hurton authored
The patch is meant to make the code easier to understand. The 'wait' attribute is replaced by 'delayed_start' and 'timer_started' attributes. The former is constant and is initialized in the constructor. The latter is a flag reflecting whether a timer has been started and changes during the lifetime of the object.
-
- 12 Jun, 2012 4 commits
-
-
Ian Barber authored
This reverts commit 029d3dfa.
-
Ian Barber authored
This reverts commit dde69fb9.
-
Ian Barber authored
This reverts commit 33459029, reversing changes made to 889b0e6f.
-
Ian Barber authored
This reverts commit 7b105865, reversing changes made to 33459029.
-
- 11 Jun, 2012 1 commit
-
-
Martin Hurton authored
Once the object has been terminated, it is unsafe for this object to refer to its parent. The bug was responsible for occasional test_shutdown_stress failures.
-
- 08 Jun, 2012 1 commit
-
-
Hiten P authored
The TCP keepalive tuning code has been moved into the newly added files; this also allows future TCP-specific code to be added into these files, without bloating the IP level code and establishes a known file structure for other IP-based transports. Remember: this is a no-op change, hence no API or functionality was changed as part of this commit.
-
- 27 May, 2012 2 commits
-
-
Martin Hurton authored
-
Martin Hurton authored
-
- 04 May, 2012 1 commit
-
-
Lourens Naudé authored
-
- 03 May, 2012 1 commit
-
-
Ian Barber authored
Patch from Mato that fixes a subtle connect bug: EAGAIN was being used as a translation value for EINPROGRESS, thus shadowing a real EAGAIN return value from the OS. This caused later assertions of "Invalid argument" in stream_engine.cpp when it attempted to use a socket which was not connected. I also add EINTR to mean EINPROGRESS, as per the POSIX and FreeBSD documentation which specifies that a connect() call interrupted due to a signal will complete asynchronously. Signed-off-by:
Martin Lucina <martin@lucina.net>
-
- 05 Apr, 2012 1 commit
-
-
Sergey KHripchenko authored
currently not fully cross-platform work on linux possibly work in *bsd and could be enhanced to work on windows
-
- 16 Feb, 2012 1 commit
-
-
Staffan Gimåker authored
This allows us to actually report an error to the caller on resolve failure, rather than asserting later on in the io thread. Signed-off-by:
Staffan Gimåker <staffan@spotify.com>
-
- 21 Dec, 2011 1 commit
-
-
Ivo Danihelka authored
Signed-off-by:
Ivo Danihelka <ivo@danihelka.net>
-
- 15 Dec, 2011 1 commit
-
-
Martin Lucina authored
failed: s == retired_fd (ipc_connecter.cpp:174), as reported in LIBZMQ-294. This patch fixes the bug, and also an identical problem in tcp_connecter which has not hit people since TCP connect() usually completes via the asynchronous code path (poll, out_event). Signed-off-by:
Martin Lucina <martin@lucina.net>
-
- 13 Dec, 2011 1 commit
-
-
Martin Lucina authored
A synchronous connect() failure in ipc_connecter can result in Assertion failed: s == retired_fd (ipc_connecter.cpp:174), as reported in LIBZMQ-294. This patch fixes the bug, and also an identical problem in tcp_connecter which has not hit people since TCP connect() usually completes via the asynchronous code path (poll, out_event). Signed-off-by:
Martin Lucina <martin@lucina.net>
-
- 01 Nov, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 31 Oct, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 15 Sep, 2011 1 commit
-
-
Martin Sustrik authored
This is a preliminary patch allowing for socket-type-specific functionality in the I/O thread. For example, message format can be checked asynchronously and misbehaved connections dropped straight away. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 03 Sep, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 02 Sep, 2011 1 commit
-
-
Martin Sustrik authored
When exec is executed to start a different process image old 0MQ file descriptors could stay open, thus blocking TCP ports and alike. This patch should solve the problem. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 18 Aug, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 16 Aug, 2011 1 commit
-
-
Martin Sustrik authored
The engine was not used exclusively for TCP connections. Rather it was used to handle any socket with SOCK_STREAM semantics. The class was renamed to reflect its true function. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 15 Aug, 2011 2 commits
-
-
Steven McCoy authored
Signed-off-by:
Steven McCoy <steven.mccoy@miru.hk> Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 08 Aug, 2011 3 commits
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
Steven McCoy authored
Signed-off-by:
Steven McCoy <steven.mccoy@miru.hk> Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
Steven McCoy authored
Signed-off-by:
Steven McCoy <steven.mccoy@miru.hk> Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 29 Jul, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 28 Jul, 2011 4 commits
-
-
Martin Sustrik authored
Instead of being spread throughout the codebase, the tuning is done in tune_tcp_socket() function. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
Till now the random fraction of the reconnect interval was computed based on process ID. This patch uses pseudo-random generated (seeded by exact time of when the process was started) to compute the interval. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 26 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>
-
- 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>
-
- 19 Jun, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 14 Jun, 2011 1 commit
-
-
Martin Sustrik authored
This patch fixed the JIRA issue 223 Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-