- 17 Jun, 2012 1 commit
-
-
Ian Barber authored
Reworked ZMQ_FAIL_UNROUTABLE to actually work as it was intended.
-
- 16 Jun, 2012 5 commits
-
-
Kobolog authored
-
Kobolog authored
-
Kobolog authored
-
Pieter Hintjens authored
Fix open_socket to return -1 (INVALID_SOCKET on Windows) on error
-
Martin Hurton authored
-
- 15 Jun, 2012 3 commits
-
-
Pieter Hintjens authored
Connecter cleanups
-
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 5 commits
-
-
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.
-
Pieter Hintjens authored
current libzmq not compiling with android NDK
-
Javier Lopez authored
- Android crosscompiler shows a warning about two signed/unsigned checks on compilation, this patch adds casts to avoid this, so zmq3.x can compile on it.
-
Ian Barber authored
Correct typo: add missing single quote.
-
Hiten P authored
-
- 13 Jun, 2012 10 commits
-
-
Pieter Hintjens authored
Fix #LIBZMQ-329 assertion on WSAEACCES
-
Steven McCoy authored
-
Pieter Hintjens authored
{tcp|ipc}_listener: close socket when set_address () fails
-
Martin Hurton authored
-
Pieter Hintjens authored
Add unistd header to test
-
Ian Barber authored
For sleep and usleep
-
Pieter Hintjens authored
Add newline to end of new test file
-
Ian Barber authored
-
Pieter Hintjens authored
Add ZeroMQ branding.
-
Steven McCoy authored
-
- 12 Jun, 2012 16 commits
-
-
Pieter Hintjens authored
Add ZMQ_DELAY_ATTACH_ON_CONNECT sockopt
-
Pieter Hintjens authored
Update bind and connect documentation for clarity
-
Ian Barber authored
Rename the pipeset to terminating_pipes, as suggested by Martin H. Adds asserts to test the pipe is contained in the terminating set where appropriate.
-
Ian Barber authored
The previous note in connect introduced but did not elaborate on the requirement to bind before connect in inproc. As that discussion is in detail in the inproc docs link to there.
-
Ian Barber authored
Based on discussion with Steve O on the list, make the difference between bind and connect usage more clear, and add a note reflecting the fact that inproc must have bind before connect to reinforce the information in zmq_inproc.
-
Ian Barber authored
This patch, salvaged from a trainwreck accidental merge earlier, adds a new sockopt, ZMQ_DELAY_ATTACH_ON_CONNECT which prevents a end point being available to push messages to until it has fully connected, making connect work more like bind. This also applies to reconnecting sockets, which may cause message loss of in-queue messages, so it is sensible to use this in conjunction with a low HWM and potentially an alternative acknowledgement path. Notes on most of the individual commits can be found the repository log.
-
Ian Barber authored
This patch, salvaged from a trainwreck accidental merge earlier, adds a new sockopt, ZMQ_DELAY_ATTACH_ON_CONNECT which prevents a end point being available to push messages to until it has fully connected, making connect work more like bind. This also applies to reconnecting sockets, which may cause message loss of in-queue messages, so it is sensible to use this in conjunction with a low HWM and potentially an alternative acknowledgement path. Notes on most of the individual commits can be found the repository log.
-
Ian Barber authored
Revert "After speaking with Ben Gray and the discussion on the mailing list, this is an attempt to create a sockopt to allow connecting pipes to not immediately be available for traffic. The problem is in a PUSH to many PULL situation, where there is a connect to a PULL which is not there. This connect will immediately create a pipe (unlike bind), and traffic will be load balanced to that pipe. This means if there is a persistently unavailable end point then the traffic will queue until HWM is hit, and older messages will be lost." This reverts commit fe3fb419.
-
Ian Barber authored
Revert "Remove extra brackets as suggested by Martin H, and fix up a comment which was missing a word" This reverts commit b79aaaf4.
-
Ian Barber authored
This reverts commit 297af954.
-
Ian Barber authored
Revert "Remove the extra outpipe handling as the session is quite capable of delaying the creation of the pipe until the connection has happened. Simply don't build the pipe, and let it do that automatically." This reverts commit 06485d92.
-
Ian Barber authored
Revert "Fix a number of whitespace issues in various parts of the code, add validation to most calls on the test and take a first stab at implementing the reconnection pipe blocking." This reverts commit 6f6466f0.
-
Ian Barber authored
Revert "Fix condition so that PGM and EPGM sockets always create pipes immediately, even if delay_attach_on_connect is set. This allows passing through the icanhasall flag, and is realistic given the fact those protocols should be able to connect immediately" This reverts commit b5ace39e.
-
Ian Barber authored
This reverts commit 0b3478d6.
-
Ian Barber authored
Revert "Rebinding on reconnection to allow for the pipe blocking will set the event sink again, which will cause an assert to be triggered. I have modified that to allow for setting the same sink to be OK. I believe this should be ok - on termination, if a pipe hasn't reconnected, it would just attempt to be erased from the pipes list again, which is reasonable" This reverts commit 1566091b.
-
Ian Barber authored
Revert "On the advice of Martin Hurton, removed the new command type and just terminated the pipe in a reconnect situation, and notified the socket of the same. This handles the blocking properly, but at the cost of potentially losing in flight messages. However, this is a reasonable trade off given how much simpler it makes the patch." This reverts commit c13f1d52.
-