1. 10 Oct, 2016 2 commits
  2. 09 Oct, 2016 1 commit
  3. 04 Oct, 2016 1 commit
  4. 01 Oct, 2016 3 commits
  5. 29 Sep, 2016 4 commits
    • Min RK's avatar
      allow duplicate entries in zmq_poller_poll · fb5a04e2
      Min RK authored
      This should restore full compatibility with earlier zmq_poll behavior.
      
      It complicates things a little bit, as collisions must be detected, and when collisions are found:
      
      - event masks must be merged
      - pollitems, events arrays are no longer co-ordered
      
      Reverts the recent zmq_proxy patch to workaround the lack of repeat-item support in zmq_poll that is now fixed.
      fb5a04e2
    • Min RK's avatar
      zmq_poll returns 0 on timeout · 310dafbc
      Min RK authored
      not -1, ETIMEDOUT like zmq_poller
      310dafbc
    • Min RK's avatar
      socket_poller::wait returns only triggered events · 718608ce
      Min RK authored
      Return value is the number of events found. This also propagates to the return value of zmq_poller_wait_all.
      
      zmq_poller_wait was only returning events on the first-registered socket.
      718608ce
    • Min RK's avatar
      avoid duplicate entries in zmq_poll · c636147c
      Min RK authored
      zmq_poller doesn't allow a socket to appear twice
      c636147c
  6. 28 Sep, 2016 4 commits
  7. 27 Sep, 2016 6 commits
    • Luca Boccassi's avatar
      Problem: pkg-config Requires.private is broken · 06d810b4
      Luca Boccassi authored
      Solution: use only Libs.private to avoid breaking application builds.
      Even though Requires.private are supposed to be parsed only if
      pkg-config is called with --static, the --cflags parameter is enough
      to trigger the parsing, causing build failures for applications that
      do not (and should not) depend on libzmq's dependencies.
      06d810b4
    • Luca Boccassi's avatar
      Problem: pkgconfig file does not support static link · 6d941160
      Luca Boccassi authored
      Solution: add dependencies, if necessary, to the .private Libs and
      Requires field of the pkgconfig file at build time.
      This way pkg-config --static --libs libzmq will correctly print
      dependencies if they were used to build the static libzmq.a library.
      6d941160
    • Min RK's avatar
      pass through poller events · ec750732
      Min RK authored
      instead of allocating a new, identical array and copying the data.
      
      This is only safe while zmq_poller_event_t and zmq::socket_poller_t::event_t are the same struct,
      which they presumably will remain.
      ec750732
    • Min RK's avatar
      add n_events argument to zmq_poller_wait_all · de7fc1fc
      Min RK authored
      avoids unnecessary heap allocations, races on the number of items
      de7fc1fc
    • Min RK's avatar
      Problem: zmq_poller only signals one event · 2bc97966
      Min RK authored
      Solution: zmq_poller_wait_all signals all events
      
      allows signaling multiple events with one call to zmq_poller_wait_all
      rather than emitting only one event.
      
      this prepares for zmq_poll being based on zmq_poller,
      which requires events for all sockets rather than just one.
      2bc97966
    • Laughing's avatar
      fix bugs of the pollset (#2127) · 555a0877
      Laughing authored
      * fix bugs of the pollset
      
      1. extend 'fd_table' when fd_ is greater or equal than the size of 'fd_table';
      2. delete specific fd from pollset before reset pollin or pollout according the description of AIX document
      
      * fix bugs of the pollset
      
      edit error. remove extra spaces and paste fault
      
      * fix bugs of pollset
      
      remove character '-' at the end line.
      555a0877
  8. 25 Sep, 2016 1 commit
  9. 24 Sep, 2016 2 commits
  10. 23 Sep, 2016 1 commit
  11. 21 Sep, 2016 1 commit
  12. 20 Sep, 2016 2 commits
  13. 17 Sep, 2016 3 commits
  14. 14 Sep, 2016 1 commit
    • Kouhei Sutou's avatar
      Problem: MinGW cross compile is failed on Linux · da9b9540
      Kouhei Sutou authored
      Solution: Use only lower case for header file name.
      
      We can find "wincrypt.h" by "WinCrypt.h" on Windows because Windows uses
      case insensitive file system. But we can't find "wincrypt.h" by
      "WinCrypt.h" on Linux Because Linux uses case sensitive file system.
      da9b9540
  15. 04 Sep, 2016 2 commits
  16. 27 Aug, 2016 1 commit
  17. 31 Jul, 2016 2 commits
  18. 30 Jul, 2016 2 commits
  19. 20 Jul, 2016 1 commit
    • Jim Garlick's avatar
      Problem: getifaddrs can fail with ECONNREFUSED · d090a871
      Jim Garlick authored
      getifaddrs() can fail transiently with ECONNREFUSED on Linux.
      This has been observed with Linux 3.10 when multiple processes
      call zmq::tcp_address_t::resolve_nic_name() simultaneously.
      
      Before asserting in this case, make 10 attempts, with exponential
      backoff, given by (1 msec * 2^i), where i is the attempt number.
      
      Fixes #2051
      d090a871