1. 14 Jul, 2017 4 commits
    • Luca Boccassi's avatar
      Merge pull request #2624 from msune/master · dfcf396d
      Luca Boccassi authored
      Problem: adapt, clarify docs ZMQ_ROUTER_MANDATORY
      dfcf396d
    • Marc Sune's avatar
      Problem: adapt, clarify docs ZMQ_ROUTER_MANDATORY · 609c1312
      Marc Sune authored
      Solution:
      
      * Document the new behaviour when generating 'ZMQ_POLLOUT' events
        for ZMQ_ROUTER sockets with 'ZMQ_ROUTER_MANDATORY' set to `1`
      * Add clarifications for 'ZMQ_ROUTER' socket when
        'ZMQ_ROUTER_MANDATORY' is set to `1`
      609c1312
    • Luca Boccassi's avatar
      Merge pull request #2622 from msune/master · bba4a937
      Luca Boccassi authored
      Fix ROUTER's xhas_out() in MANDATORY mode
      bba4a937
    • Marc Sune's avatar
      Fix ROUTER's xhas_out() in MANDATORY mode · b7b89a8f
      Marc Sune authored
      Before this commit, xhas_out() was returning true regardless. This
      was correct before the ZMQ_ROUTER_MANDATORY flag as introduced.
      However, ZMQ_POLLOUT.
      
      With this commit, _if_ ZMQ_ROUTER_MANDATORY is set, xhas_out() will
      return false if ALL peer's outgoing pipes are full.
      
      There is an outstanding high-level design question:
      
      If ZMQ_ROUTER_MANDATORY is set, and zmq_poll() waits for ZMQ_POLLOUT
      events, zmq_poll() will immediately wake up if only 1 pipe has
      room to send, regardless of the peer, creating a busy loop of
      zmq_poll() wake-up, zmq_send() (EAGAIN). There is no way for
      the application to selectively wait for ZMQ_POLLOUT for specific
      peer(s), which seems somehow necessary in ZMQ_ROUTER_MANDATORY.
      
      This discussion will be addressed in a separate issue.
      Signed-off-by: 's avatarMarc Sune <marc@voltanet.io>
      Signed-off-by: 's avatarFredi Raspall <fredi@voltanet.io>
      b7b89a8f
  2. 01 Jul, 2017 2 commits
  3. 29 Jun, 2017 2 commits
  4. 27 Jun, 2017 4 commits
  5. 23 Jun, 2017 2 commits
  6. 22 Jun, 2017 2 commits
  7. 21 Jun, 2017 1 commit
  8. 15 Jun, 2017 1 commit
  9. 14 Jun, 2017 3 commits
  10. 13 Jun, 2017 3 commits
  11. 12 Jun, 2017 2 commits
  12. 02 Jun, 2017 2 commits
  13. 23 May, 2017 2 commits
  14. 20 May, 2017 2 commits
    • Constantin Rack's avatar
      Merge pull request #2583 from timou/wincmake · ec56eaae
      Constantin Rack authored
      Suppress linker warning 4221 for MSVC
      ec56eaae
    • Tim Ebringer's avatar
      Suppress linker warning 4221 for MSVC · 293a1825
      Tim Ebringer authored
      Some #define switches cause the body of entire files to be omitted. This
      causes a linker warning on Visual Studio 2017, for example
      
          warning LNK4221: This object file does not define any previously
          undefined public symbols, so it will not be used by any link
          operation that consumes this library
      
      Since this is warning us about something that shouldn't be
      earth-shattering news, we add a linker flag to suppress this warning on
      MSVC builds.
      293a1825
  15. 18 May, 2017 4 commits
  16. 17 May, 2017 4 commits