1. 17 Apr, 2020 2 commits
    • Gudmundur Adalsteinsson's avatar
      Problem: No support to query poller size · 9c6738bb
      Gudmundur Adalsteinsson authored
      Solution: Add zmq_poller_size that queries the number
      of objects registered, allowing safer usages of poller
      to avoid livelock situations.
      9c6738bb
    • Doron Somech's avatar
      problem: ZMQ_HEARTBEAT is not useful without sending an hello message · 93da6763
      Doron Somech authored
      When using ZMQ_HEARTBEAT one still needs to implement application-level heartbeat in order to know when to send a hello message.
      For example, with the majordomo protocol, the worker needs to send a READY message when connecting to a broker. If the connection to the broker drops, and the heartbeat recognizes it the worker won't know about it and won't send the READY msg.
      To solve that, the majordomo worker still has to implement heartbeat. With this new option, whenever the connection drops and reconnects the hello message will be sent, greatly simplify the majordomo protocol, as now READY and HEARTBEAT can be handled by zeromq.
      93da6763
  2. 13 Apr, 2020 3 commits
    • grmt's avatar
      add wss transport and fix tipc tests when building using cmake on linux (#3857) · 718ad8ab
      grmt authored
      * Allow CMAKE to generate ws and wss transports
      I guess there is little use of just ws transport, so by default
      GnuTLS (and libsodium) are enabled
      
      * cmake libzmq including wss transport (ubuntu 19.10 and ubuntu 19.10 + wsl 1.0)
      test_security_fails (libsodium assert !?)
      
      * updated relicense
      
      * make external libs gnutls nss sodium optional
      
      * #ifdef WSS classes and functions, build test*ws* only if correct libs are included, warning if libs not present
      
      * make libsodium optional
      
      * cmake fix tests TIPC transport
      
      * clang-format pointed out a wrongly placed #ifdef
      
      * GnuTLS before 3.6.7 is not safe
      
      * msvc doesn't agree with strlen in array declaration, test_socks now at least compiles on windows
      
      * windows: libsodium build fails, missing include dirs set by env var
      
      * ws transport test only works when GnuTLS is found
      
      * Fixed condition to use NSS / built in SHA1, so that test_ws_transport should now pass, also when GnuTLS is not found
      718ad8ab
    • Gudmundur Adalsteinsson's avatar
      Problem: poller sleeps forever if no events · 458d805e
      Gudmundur Adalsteinsson authored
      Solution: Fail with error if no events are active and timeout is infinite
      458d805e
    • Gudmundur Adalsteinsson's avatar
      Problem: poller item fd uninitialized · a468ac78
      Gudmundur Adalsteinsson authored
      Solution: Set to zero for socket events
      a468ac78
  3. 09 Apr, 2020 1 commit
  4. 14 Mar, 2020 3 commits
  5. 07 Mar, 2020 1 commit
  6. 28 Feb, 2020 1 commit
  7. 23 Feb, 2020 2 commits
  8. 09 Feb, 2020 2 commits
  9. 06 Feb, 2020 3 commits
  10. 05 Feb, 2020 3 commits
  11. 04 Feb, 2020 3 commits
  12. 03 Feb, 2020 3 commits
  13. 27 Jan, 2020 6 commits
  14. 26 Jan, 2020 1 commit
  15. 23 Jan, 2020 1 commit
  16. 22 Jan, 2020 1 commit
  17. 19 Jan, 2020 1 commit
  18. 18 Jan, 2020 3 commits