1. 11 Jun, 2016 1 commit
    • Michael Lutz's avatar
      Problem: Windows performance is not optimal due to select(). · 7a6ff07a
      Michael Lutz authored
      Solution: Provide poll() for Windows as well. This is a build option that
      defaults to off as the resulting binary will only run on Windows Vista or
      newer.
      
      This is not tested with alternative Winsock service providers like VMCI,
      but the documentation for WSAPoll does not mention limitations.
      
      On my local machine, throughput improves by ~10 % (20 simultaneous
      remote_thr workes to one local_thr, 10 byte messages), while latency
      improves by ~30 % (measured with remote/local_lat).
      7a6ff07a
  2. 14 May, 2016 1 commit
  3. 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
  4. 04 May, 2016 2 commits
  5. 01 May, 2016 1 commit
    • hitstergtd's avatar
      Problem: multiple issues with sendiov/recviov · e4539778
      hitstergtd authored
      Solution:
      - Add check for the [count] parameter in zmq_sendiov() and zmq_recviov()
      - Use and add test for zmq_sendiov() in tests/test_iov.cpp
      - Add error state tests for zmq_sendiov() in tests/test_iov.cpp
      - Add error state tests for zmq_recviov() in tests/test_iov.cpp
      - Cleanup tests/test_iov.cpp for style, consistency and clarity
      - Generally improve test coverage for both API methods
      
      Hat-tip:
      @somdoron, @bluca
      e4539778
  6. 26 Apr, 2016 1 commit
  7. 12 Apr, 2016 1 commit
  8. 21 Feb, 2016 2 commits
  9. 18 Feb, 2016 1 commit
  10. 11 Feb, 2016 1 commit
    • Pieter Hintjens's avatar
      Problem: use of libsodium vs. tweetnacl is confused · b49a6041
      Pieter Hintjens authored
      It's unclear which we need and in the source code, conditional code
      treats tweetnacl as a subclass of libsodium, which is inaccurate.
      
      Solution: redesign the configure/cmake API for this:
      
      * tweetnacl is present by default and cannot be enabled
      * libsodium can be enabled using --with-libsodium, which replaces
        the built-in tweetnacl
      * CURVE encryption can be disabled entirely using --enable-curve=no
      
      The macros we define in platform.hpp are:
      
          ZMQ_HAVE_CURVE    1        //  When CURVE is enabled
          HAVE_LIBSODIUM    1        //  When we are using libsodium
          HAVE_TWEETNACL    1        //  When we're using tweetnacl (default)
      
      As of this patch, the default build of libzmq always has CURVE
      security, and always uses tweetnacl.
      b49a6041
  11. 09 Feb, 2016 1 commit
    • Pieter Hintjens's avatar
      Problem: test_large_msg kills my system temporarily · 62c66ae7
      Pieter Hintjens authored
      And I'm on a reasonably sized laptop. I think allocating INT_MAX
      memory is dangerous in a test case.
      
      Solution: expose this as a context option. I've used ZMQ_MAX_MSGSZ
      and documented it and implemented the API. However I don't know how
      to get the parent context for a socket, so the code in zmq.cpp is
      still unfinished.
      62c66ae7
  12. 06 Feb, 2016 1 commit
  13. 05 Feb, 2016 1 commit
  14. 29 Jan, 2016 1 commit
  15. 28 Jan, 2016 1 commit
  16. 27 Jan, 2016 1 commit
  17. 20 Jan, 2016 2 commits
  18. 29 Dec, 2015 1 commit
  19. 21 Dec, 2015 3 commits
  20. 18 Dec, 2015 1 commit
  21. 08 Dec, 2015 1 commit
    • Ilya Kulakov's avatar
      Add the VMCI transport. · 68b13fbd
      Ilya Kulakov authored
      VMCI transport allows fast communication between the Host
      and a virtual machine, between virtual machines on the same host,
      and within a virtual machine (like IPC).
      
      It requires VMware to be installed on the host and Guest Additions
      to be installed on a guest.
      68b13fbd
  22. 22 Oct, 2015 1 commit
  23. 21 Oct, 2015 2 commits
  24. 18 Oct, 2015 1 commit
  25. 27 Sep, 2015 1 commit
  26. 11 Sep, 2015 1 commit
  27. 06 Sep, 2015 1 commit
  28. 21 Aug, 2015 1 commit
  29. 20 Aug, 2015 1 commit
  30. 17 Aug, 2015 3 commits
  31. 16 Aug, 2015 2 commits