1. 12 Feb, 2015 2 commits
  2. 22 Jan, 2015 1 commit
  3. 09 Jan, 2015 1 commit
  4. 20 May, 2014 1 commit
  5. 30 Apr, 2014 1 commit
  6. 28 Apr, 2014 1 commit
    • Pieter Hintjens's avatar
      Problem: zmq_socket_monitor code is dirty · 9753de85
      Pieter Hintjens authored
      Specifically:
      
      * zmq_event_t should not be used internally in libzmq, it was
        meant to be an outward facing structure.
      
      * In 4.x, zmq_event_t does not correspond to monitor events, so
        I removed the structure entirely.
      
      * man page for zmq_socket_monitor is incomplete and the example
        code was particularly nasty.
      
      * test_monitor.cpp needed rewriting, it was not clean.
      9753de85
  7. 19 Jan, 2014 2 commits
    • Pieter Hintjens's avatar
      Cleaned up option to force identity on outgoing connection · 50bd28c0
      Pieter Hintjens authored
      - renamed to ZMQ_CONNECT_RID
      - fixed whitespace malformating around previous patch
      - renamamed next_peer_id to next_rid in preparation for
        larger rename of IDENTITY to ROUTING_ID
      
      Note: ZMQ_CONNECT_RID has no test case and no entry in the man
      page, as yet.
      50bd28c0
    • Tim M's avatar
      Fixed compile issue with missing member of socket_base. Changed… · b1920bdf
      Tim M authored
      Fixed compile issue with missing member of socket_base.  Changed ZMQ_NEXT_IDENTITY to ZMQ_NEXT_CONNECT_PEER_ID.
      
      Fixed case where ZMQ_NEXT_CONNECT_PEER_ID is used in ROUTER, and ROUTER does not read the identity message from the connected pipe.
      b1920bdf
  8. 12 Jan, 2014 1 commit
  9. 08 Jan, 2014 1 commit
  10. 07 Jan, 2014 1 commit
  11. 06 Jan, 2014 1 commit
  12. 02 Jan, 2014 1 commit
  13. 31 Aug, 2013 1 commit
    • Shawn J. Goff's avatar
      Change name of icanhasall to subscribe_to_all · 6a18f595
      Shawn J. Goff authored
      icanhasall is cute (for now), but the effect of the variable is clear
      only after tracking down its origin reading the commit. This change is
      intended to make it easier for people to have some intuition about its
      effect from its name.
      6a18f595
  14. 18 Aug, 2013 1 commit
    • Ian Barber's avatar
      Attempt to fix disconnect not respecting linger · cb35fd7b
      Ian Barber authored
      Looks like linger is honoured properly, but shutting down the session
      causes the pipe termination to come from that side - because the local
      pipe then shuts down right away it seems to trigger a terminated on the
      other end instead of waiting. This way we trigger the termination from
      the local end and then terminate the session.
      cb35fd7b
  15. 29 Jun, 2013 1 commit
  16. 06 Jun, 2013 1 commit
  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. 08 Mar, 2013 1 commit
  19. 04 Dec, 2012 1 commit
  20. 21 Nov, 2012 1 commit
  21. 17 Nov, 2012 1 commit
  22. 09 Nov, 2012 2 commits
  23. 18 Oct, 2012 1 commit
  24. 21 Sep, 2012 1 commit
  25. 24 Aug, 2012 1 commit
    • Arthur O'Dwyer's avatar
      Fix monitor_event() to work at all. · 7fadd708
      Arthur O'Dwyer authored
      There are three versions of monitor_event(), all taking
      variadic arguments. The original code just has the first one
      creating a va_list and passing that va_list variadically to
      the second one... which creates a new va_list and passes it
      variadically to the third one... and of course everything
      blows up when we try to pull a non-va_list argument off the
      stack.
      
      The correct approach matches the C standard library's use
      of printf/vprintf, scanf/vscanf, and so on. Once you make
      a va_list, you must pass it only to functions which expect
      a va_list parameter.
      7fadd708
  26. 12 Jun, 2012 2 commits
  27. 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
  28. 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
  29. 04 May, 2012 1 commit
  30. 28 Apr, 2012 1 commit
  31. 20 Apr, 2012 1 commit
  32. 18 Apr, 2012 1 commit
  33. 17 Apr, 2012 1 commit
  34. 20 Mar, 2012 1 commit
    • Pieter Hintjens's avatar
      Fixed issues #337, #341, and #340 · 6e71a54b
      Pieter Hintjens authored
      * Implemented new ctx API (_new, _destroy, _get, _set)
      * Removed 'typesafe' macros from zmq.h
      * Added support for MAX_SOCKETS (was tied into change for #337)
      * Created new man pages
      6e71a54b
  35. 19 Mar, 2012 1 commit
  36. 03 Feb, 2012 1 commit
    • skaller's avatar
      Set and arrange propagation of thread safe sockets flag. · 520ad3c2
      skaller authored
      We use a distinct context initialisation function to specify
      all sockets derived therefrom will be thread safe.
      
      However the inheritance is done exclusively in the C interface.
      This is not really correct, but it is chosen to minimise
      interference with the existing C++ code, including any
      construct or other calls within the C++ code base.
      Semantically the C++ code should be unchanged,
      physically some data structures and extra methods are
      provided by they're only used from the C binding.
      520ad3c2