Skip to content
Commits on Jun 14, 2012
  1. libzmq3.x not compiling on Android crosscompiler

    committed Jun 8, 2012
    - 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.
  2. @ianbarber

    Merge pull request #379 from hitenp/doc-changes

    ianbarber committed Jun 14, 2012
    Correct typo: add missing single quote.
  3. @hitstergtd
Commits on Jun 13, 2012
  1. @hintjens

    Merge pull request #378 from steve-o/err-handler

    hintjens committed Jun 13, 2012
    Fix #LIBZMQ-329 assertion on WSAEACCES
  2. @steve-o
  3. @hintjens

    Merge pull request #377 from hurtonm/master

    hintjens committed Jun 13, 2012
    {tcp|ipc}_listener: close socket when set_address () fails
  4. @hurtonm
  5. @hintjens

    Merge pull request #376 from ianbarber/master

    hintjens committed Jun 13, 2012
    Add unistd header to test
  6. @ianbarber

    Add unistd header to test_connect_delay header

    ianbarber committed Jun 13, 2012
    For sleep and usleep
  7. @hintjens

    Merge pull request #375 from ianbarber/master

    hintjens committed Jun 13, 2012
    Add newline to end of new test file
  8. @ianbarber
  9. @hintjens

    Merge pull request #374 from steve-o/branding

    hintjens committed Jun 12, 2012
    Add ZeroMQ branding.
  10. @steve-o

    Add ZeroMQ branding.

    steve-o committed Jun 12, 2012
Commits on Jun 12, 2012
  1. @hintjens

    Merge pull request #373 from ianbarber/master

    hintjens committed Jun 12, 2012
    Add ZMQ_DELAY_ATTACH_ON_CONNECT sockopt
  2. @hintjens

    Merge pull request #372 from ianbarber/manfix

    hintjens committed Jun 12, 2012
    Update bind and connect documentation for clarity
  3. @ianbarber

    Add asserts and rename pipe set

    ianbarber committed Jun 12, 2012
    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.
  4. @ianbarber

    Add reference to the inproc documentation

    ianbarber committed Jun 12, 2012
    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.
  5. @ianbarber

    Update bind and connect documentation for clarity

    ianbarber committed Jun 12, 2012
    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.
  6. @ianbarber

    Allow blocking while connect() is completing

    ianbarber committed Jun 12, 2012
    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.
  7. @ianbarber

    Allow blocking while connect() is completing

    ianbarber committed Jun 12, 2012
    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.
  8. @ianbarber

    Revert "After speaking with Ben Gray and the discussion on the mailin…

    ianbarber committed Jun 12, 2012
    …g 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 fe3fb41.
  9. @ianbarber

    Revert "Remove extra brackets as suggested by Martin H, and fix up a …

    ianbarber committed Jun 12, 2012
    …comment which was missing a word"
    
    This reverts commit b79aaaf.
  10. @ianbarber

    Revert "And another typo on the same comment"

    ianbarber committed Jun 12, 2012
    This reverts commit 297af95.
  11. @ianbarber

    Revert "Remove the extra outpipe handling as the session is quite cap…

    ianbarber committed Jun 12, 2012
    …able 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 06485d9.
  12. @ianbarber

    Revert "Fix a number of whitespace issues in various parts of the cod…

    ianbarber committed Jun 12, 2012
    …e, add validation to most calls on the test and take a first stab at implementing the reconnection pipe blocking."
    
    This reverts commit 6f6466f.
  13. @ianbarber

    Revert "Fix condition so that PGM and EPGM sockets always create pipe…

    ianbarber committed Jun 12, 2012
    …s 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 b5ace39.
  14. @ianbarber

    Revert "Fix whitespace in test"

    ianbarber committed Jun 12, 2012
    This reverts commit 0b3478d.
  15. @ianbarber

    Revert "Rebinding on reconnection to allow for the pipe blocking will…

    ianbarber committed Jun 12, 2012
    … 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 1566091.
  16. @ianbarber

    Revert "On the advice of Martin Hurton, removed the new command type …

    ianbarber committed Jun 12, 2012
    …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 c13f1d5.
  17. @ianbarber

    Revert "Remove unnecessary extra test in pipe assertion - now we are …

    ianbarber committed Jun 12, 2012
    …terminating pipes we don't need to allow the case in which a pipe is rebound to the same sink"
    
    This reverts commit 29f8d9c.
  18. @ianbarber

    Revert "Fix incorrect whitespace in if statement"

    ianbarber committed Jun 12, 2012
    This reverts commit 55cbdfc.
  19. @ianbarber

    Revert "Removing unnecessary outpipe values that had been used for re…

    ianbarber committed Jun 12, 2012
    …connecting existing pipes - no longer needed when using a pipe term for the delay_attach situation."
    
    This reverts commit ace7c99.
  20. @ianbarber

    Revert "Restoring comment for clarity"

    ianbarber committed Jun 12, 2012
    This reverts commit 09956de.
  21. @ianbarber

    Revert "When detaching a pipe, as well as checking the delay on conne…

    ianbarber committed Jun 12, 2012
    …ct sockopt is set, also ensure that the protocol is not pgm or epgm as we are not implementing the functionality for multicase types"
    
    This reverts commit 5008f38.
  22. @ianbarber

    Revert "The previous code to block the socket from receiving on that …

    ianbarber committed Jun 12, 2012
    …pipe during a disconnect was vulnerable to a race condition. This code calls with the terminate functions of both ends of the pipe - I believe this should be safer. This required storing a pointer to the socket end of the pipe"
    
    This reverts commit 336f727.
Something went wrong with that request. Please try again.