1. 21 Apr, 2012 4 commits
  2. 20 Apr, 2012 2 commits
  3. 18 Apr, 2012 2 commits
  4. 13 Apr, 2012 1 commit
  5. 12 Apr, 2012 1 commit
    • Sergey KHripchenko's avatar
      Implement ZMQ_TCP_ACCEPT_FILTER setsockopt() for listening TCP sockets. · acba6bdd
      Sergey KHripchenko authored
      Assign arbitrary number of filters that will be applied for each new TCP transport
      connection on a listening socket.
      If no filters applied, then TCP transport allows connections from any ip.
      If at least one filter is applied then new connection source ip should be matched.
      To clear all filters call zmq_setsockopt(socket, ZMQ_TCP_ACCEPT_FILTER, NULL, 0).
      Filter is a null-terminated string with ipv6 or ipv4 CIDR.
      
      For example:
      localhost
      127.0.0.1
      mail.ru/24
      ::1
      ::1/128
      3ffe:1::
      3ffe:1::/56
      
      Returns -1 if the filter couldn't be assigned(format error or ipv6 filter with ZMQ_IPV4ONLY set)
      
      P.S.
      The only thing that worries me is that I had to re-enable 'default assign by reference constructor/operator'
      for 'tcp_address_t' (and for my inherited class tcp_address_mask_t) to store it in std::vector in 'options_t'...
      acba6bdd
  6. 11 Apr, 2012 2 commits
    • Pieter Hintjens's avatar
      Merge pull request #309 from hurtonm/fix_issue_335 · e276df2b
      Pieter Hintjens authored
      Fix issue #335
      e276df2b
    • Martin Hurton's avatar
      Fix issue #335 · cfa6f4bf
      Martin Hurton authored
      The CreateEvent function requests EVENT_ALL_ACCESS access rights
      when the event object already exists. This causes problems
      when the event object is created from a service.
      The solution is to call OpenEvent function when the CreateEvent
      failed due to access control.
      The proper solution would be to use CreateEventEx function, but
      this one is not available on Windows XP.
      cfa6f4bf
  7. 10 Apr, 2012 4 commits
  8. 09 Apr, 2012 2 commits
  9. 06 Apr, 2012 1 commit
  10. 05 Apr, 2012 3 commits
  11. 04 Apr, 2012 4 commits
  12. 03 Apr, 2012 2 commits
  13. 02 Apr, 2012 4 commits
  14. 29 Mar, 2012 4 commits
  15. 28 Mar, 2012 4 commits