1. 24 Apr, 2016 1 commit
  2. 23 Apr, 2016 4 commits
  3. 21 Apr, 2016 5 commits
  4. 19 Apr, 2016 1 commit
    • hitstergtd's avatar
      Problem: Linker search path warnings on OS X · 846b2ba1
      hitstergtd authored
      Problem:
      A per-test Linker search path was added in commit a911fa41 to CMakeLists.txt as
      part of fixing Windows builds. Whilst this is silently ignored by ld(1) on
      Linux, it doesn't settle well with OS X. Spurious warnings are generated about
      missing directories leading to convoluted build logs.
      
      Solution:
      Make per-Test LINK_DIRECTORIES() conditional for non-Apple platforms.
      846b2ba1
  5. 18 Apr, 2016 4 commits
  6. 14 Apr, 2016 1 commit
    • hitstergtd's avatar
      Make all Linux-specific tests conditional · 307bd952
      hitstergtd authored
      Move tests specific to Linux under a platform conditional thereby eliminating
      unnecessary builds and fixing "make test" on Mac OS X and possibly other
      non-Linux systems.
      
      Tests specific to Linux:
          - abstract namespace support for AF_UNIX sockets
          - TIPC support (AF_TIPC)
      
      Test success rate jumps from 90% to 100% on Mac OS X after this change.
      307bd952
  7. 12 Apr, 2016 2 commits
    • Luca Boccassi's avatar
      Problem: test_use_fd_tcp does not work on Solaris · a01baba3
      Luca Boccassi authored
      Solution: pass a struct addrinfo hint to getaddrinfo with a hint
      about the address family to avoid a failure.
      a01baba3
    • 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
  8. 08 Apr, 2016 1 commit
  9. 02 Apr, 2016 1 commit
    • Frederic Tregon's avatar
      Fixed ZMQ_REQ_CORRELATE (see pull request #1730) · 625b6187
      Frederic Tregon authored
      Problem: Since pull request #1730 was merged, protocol for REQ socket is
      checked at the session level and this check does not take into account
      the possibility of a request_id being part of the message. Thus the option
      ZMQ_REQ_CORRELATE would no longer work.
      This is now fixed: the possiblity of a 4 bytes integer being present
      before the delimiter frame is taken into account (whether or not this
      breaks the REQ/REP RFC is another issue).
      625b6187
  10. 20 Mar, 2016 1 commit
    • Frederic Tregon's avatar
      Fixed issue #1695 (ZMQ_REQ_CORRELATE) · e45dfe3b
      Frederic Tregon authored
      Problem: when using ZMQ_REQ_RELAXED + ZMQ_REQ_CORRELATE and two 'send' are
      executed in a row and no server is available at the time of the sends,
      then the internal request_id used to identify messages gets corrupted and
      the two messages end up with the same request_id. The correlation no
      longer works in that case and you may end up with the wrong message.
      
      Solution: make a copy of the request_id instance member before sending it
      down the pipe.
      e45dfe3b
  11. 17 Mar, 2016 1 commit
  12. 16 Mar, 2016 1 commit
    • Luca Boccassi's avatar
      Problem: test_large_msg requires 2GB of free RAM · 15fd419f
      Luca Boccassi authored
      Solution: remove temporarily until proper message limits have been
      implemented, then a more granular test case can be added without
      such high requirements which are problematic in embedded environment,
      build systems, VMs and CI systems
      15fd419f
  13. 14 Mar, 2016 2 commits
  14. 06 Mar, 2016 1 commit
  15. 05 Mar, 2016 2 commits
  16. 01 Mar, 2016 1 commit
  17. 13 Feb, 2016 11 commits