1. 01 May, 2017 1 commit
    • Luca Boccassi's avatar
      Problem: tests bind to hardcoded TCP ports · 5934919f
      Luca Boccassi authored
      Solution: use ZMQ_LAST_ENDPOINT in most places. This alllows running
      tests in paralle, and on over-booked shared machines where many of
      the ports would be already in use.
      Keep 3 tests with an hardcoded port, as there are some code paths that
      require it (eg: connect before bind), but list those ports in
      tests/testutil.hpp as macros so that they do not overlap and still
      allow parallel runs.
      
      These changes were inspired by a patch uploaded to Ubuntu by the
      package maintainer, Steve Langasek <steve.langasek@ubuntu.com>.
      Thank you Steve!
      5934919f
  2. 23 Aug, 2016 1 commit
  3. 23 Apr, 2016 1 commit
  4. 18 Apr, 2016 1 commit
    • Luca Boccassi's avatar
      Problem: can't unbind with bound addr with IPv6 · c8211bf3
      Luca Boccassi authored
      Solution: try to resolve the TCP endpoint passed by the user in the
      zmq_unbind call before giving up, if it doesn't match.
      This fixes a breakage in the API, where after a call to
      zmq_bind(s, "tcp://127.0.0.1:9999") with IPv6 enabled on s would
      result in the call to zmq_unbind(s, "tcp://127.0.0.1:9999") failing.
      Add more test cases to increase coverage on all combinations of TCP
      endpoints.
      c8211bf3
  5. 28 Jan, 2016 1 commit
  6. 29 Jun, 2015 3 commits