1. 10 Feb, 2019 1 commit
  2. 27 May, 2018 1 commit
  3. 26 May, 2018 1 commit
  4. 02 Feb, 2018 1 commit
  5. 19 Sep, 2017 1 commit
    • Luca Boccassi's avatar
      Problem: zmq_connect fails after disconnect due to RECONNECT_IVL == -1 · edb4ca10
      Luca Boccassi authored
      Solution: when a connection breaks and ZMQ_RECONNECT_IVL is set to -1,
      which means a reconnection will not be attempted, send a message from
      the I/O thread to the application thread to make the socket call
      term_endpoint, which is the equivalent of manually calling
      zmq_disconnect.
      This way subsequent zmq_connect call to the same endpoint will attempt
      again to do a connection.
      Otherwise, for some socket types like SUBs, those new connects will
      fail as the endpoint is recorded, despite the connection having been
      permanently closed.
      
      Add test cases to exercise this corner case with TCP and IPC.
      edb4ca10
  6. 11 Jan, 2017 1 commit
  7. 25 Apr, 2016 1 commit
  8. 18 Feb, 2016 1 commit
  9. 28 Jan, 2016 1 commit
  10. 02 Jun, 2015 1 commit
  11. 22 Jan, 2015 1 commit
  12. 09 Jul, 2014 1 commit
  13. 23 May, 2014 1 commit
  14. 21 May, 2014 1 commit
    • Martin Hurton's avatar
      Code cleanup · 414fc86b
      Martin Hurton authored
      - limit visibility of pending_connection_t
      - add const qualifiers
      414fc86b
  15. 02 Jan, 2014 1 commit
  16. 12 Sep, 2013 3 commits
  17. 12 Mar, 2013 1 commit
    • Pieter Hintjens's avatar
      Removed corporate advertisements from source file headers · f0f16505
      Pieter Hintjens authored
      Copyrights had become ads for Sustrik's corporate sponsors, going against the original
      agreement to share copyrights with the community (that agreement was: one line stating
      iMatix copyright + one reference to AUTHORS file). The proliferation of corporate ads
      is also unfair to the many individual authors. I've removed ALL corporate title from
      the source files so the copyright statements can now be centralized in AUTHORS and
      source files can be properly updated on an annual basis.
      f0f16505
  18. 02 Jan, 2013 1 commit
  19. 27 Aug, 2012 1 commit
    • Arthur O'Dwyer's avatar
      Silence all "unused parameter" warnings from Clang. · 3b984d40
      Arthur O'Dwyer authored
      Compiling without warnings is a good goal, because it makes
      new warnings (which probably indicate bugs) stand out rather
      than getting lost in the spam.
      
      My fixes fall into two categories:
      
          - Adding (void) casts of unused parameters, where their
            unusedness seems like a TODO (or in some cases a bug?).
      
          - Removing parameter names altogether, where the function
            is clearly a stub that will never use its parameters.
      
      Should be no change in behavior.
      3b984d40
  20. 12 Jun, 2012 2 commits
  21. 04 Jun, 2012 1 commit
    • Ian Barber's avatar
      On the advice of Martin Hurton, removed the new command type and just terminated… · c13f1d52
      Ian Barber authored
      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.
      c13f1d52
  22. 03 Jun, 2012 1 commit
    • Ian Barber's avatar
      Fix a number of whitespace issues in various parts of the code, add validation… · 6f6466f0
      Ian Barber authored
      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.
      
      It didn't seem straightforward to use any of the existing process calls, so I have added a new command to command_t and friends called detach. This instructs the socket_base to remove the pipe from it's pipe list. The session base stores a copy of the outpipe, and will resend the bind command on reconnection. This should allow balancing again.
      6f6466f0
  23. 26 Mar, 2012 1 commit
  24. 19 Mar, 2012 1 commit
  25. 15 Feb, 2012 1 commit
  26. 10 Feb, 2012 1 commit
  27. 01 Nov, 2011 1 commit
  28. 31 Oct, 2011 1 commit
  29. 15 Sep, 2011 1 commit
  30. 15 Jul, 2011 1 commit
  31. 30 May, 2011 1 commit
  32. 22 May, 2011 1 commit
    • Martin Sustrik's avatar
      Introduces bi-directional pipes · acf0b0e5
      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: 's avatarMartin Sustrik <sustrik@250bpm.com>
      acf0b0e5
  33. 02 Mar, 2011 1 commit
  34. 22 Feb, 2011 1 commit
  35. 18 Feb, 2011 1 commit
  36. 09 Feb, 2011 2 commits