1. 12 May, 2016 1 commit
    • hitstergtd's avatar
      Problem: zmq_poller_destroy parameter checking · 477cc1cb
      hitstergtd authored
      Solution:
      - Add checks for **poller_p_ to ensure that we do not segfault when either it
        or the value within it are NULL
      - Add tests for the above and increase error state coverage
      477cc1cb
  2. 05 May, 2016 1 commit
  3. 02 May, 2016 1 commit
  4. 12 Apr, 2016 1 commit
    • Patrik Wenger's avatar
      Problem: tricky return value from zmq::socket_poller_t::wait when poller is empty · 621c965f
      Patrik Wenger authored
      Solution: return -1 (no event) instead of 0 (event)
      
      For some reason, this just returns 0 if there are no sockets registered
      on the poller. Usually this would mean there has been an event. So the
      caller would have to check the return value AND the event, or write code
      that takes the number of registered sockets into consideration.
      
      By returning -1 and setting errno = ETIMEDOUT like in the usual timeout
      cases, it's more consistent and convenient.
      
      Test case included.
      621c965f
  5. 01 Feb, 2016 1 commit
  6. 28 Jan, 2016 1 commit
  7. 21 Dec, 2015 1 commit
  8. 22 Oct, 2015 1 commit
  9. 21 Oct, 2015 2 commits
  10. 18 Oct, 2015 1 commit
  11. 17 Aug, 2015 3 commits
  12. 16 Aug, 2015 1 commit
  13. 22 Jul, 2015 1 commit
  14. 02 Jun, 2015 1 commit
  15. 02 Feb, 2015 1 commit
  16. 01 Feb, 2015 1 commit
  17. 22 Jan, 2015 1 commit
  18. 02 Jan, 2014 1 commit
  19. 18 Sep, 2013 1 commit
  20. 15 Sep, 2013 1 commit
    • Pieter Hintjens's avatar
      Added z85 codec to ZMQ API · 576e3ca5
      Pieter Hintjens authored
      * Removed redundant Z85 code and include files from project
      * Simplified use of headers in test cases (now they all just use testutil.hpp)
      * Export zmq_z85_encode() and zmq_z85_decode() in API
      * Added man pages for these two functions
      576e3ca5
  21. 17 Aug, 2013 1 commit
  22. 10 Jun, 2013 1 commit
  23. 05 Jun, 2013 2 commits
  24. 12 Mar, 2013 1 commit
  25. 31 Jan, 2013 2 commits
  26. 06 Sep, 2012 1 commit
    • Arthur O'Dwyer's avatar
      Add "#undef NDEBUG" to all tests. · cf20932d
      Arthur O'Dwyer authored
      This change makes sure that even if the tests are built in a
      "release" configuration (with optimizations and NDEBUG turned on),
      the assertions won't get compiled out of the tests themselves.
      
      The C standard guarantees that the most recent inclusion of
      <assert.h> is the one that counts, so it's important that the
      "#undef NDEBUG/#include <assert.h>" come as the last thing in
      the block of header files.
      
      "testutil.hpp" includes <assert.h>, so I've left <assert.h> out
      of any test that #includes "testutil.hpp", just for the sake of
      brevity.
      cf20932d
  27. 27 Aug, 2012 1 commit
  28. 24 Apr, 2012 1 commit
  29. 21 Mar, 2012 1 commit
  30. 16 Feb, 2012 2 commits
  31. 06 Nov, 2011 1 commit