1. 28 Jan, 2016 1 commit
  2. 21 Jan, 2016 2 commits
  3. 16 Jan, 2016 1 commit
  4. 09 Dec, 2015 1 commit
  5. 26 Oct, 2015 1 commit
  6. 11 Sep, 2015 1 commit
  7. 06 Sep, 2015 1 commit
  8. 03 Sep, 2015 1 commit
  9. 21 Aug, 2015 2 commits
  10. 14 Aug, 2015 1 commit
  11. 13 Jun, 2015 1 commit
  12. 02 Jun, 2015 1 commit
  13. 22 Jan, 2015 1 commit
  14. 01 Jul, 2014 1 commit
  15. 25 Jun, 2014 2 commits
  16. 24 Jun, 2014 2 commits
  17. 22 Jun, 2014 1 commit
  18. 15 Jun, 2014 1 commit
  19. 03 Jun, 2014 1 commit
  20. 03 May, 2014 1 commit
  21. 30 Apr, 2014 1 commit
  22. 02 Jan, 2014 1 commit
  23. 12 Mar, 2013 1 commit
    • Pieter Hintjens's avatar
      Removed corporate advertisements from source file headers · f0f16505
      Pieter Hintjens authored
      Copyrights had become ads for Sustrik's corporate sponsors, going against the original
      agreement to share copyrights with the community (that agreement was: one line stating
      iMatix copyright + one reference to AUTHORS file). The proliferation of corporate ads
      is also unfair to the many individual authors. I've removed ALL corporate title from
      the source files so the copyright statements can now be centralized in AUTHORS and
      source files can be properly updated on an annual basis.
      f0f16505
  24. 31 Jan, 2013 1 commit
  25. 27 Aug, 2012 1 commit
    • Arthur O'Dwyer's avatar
      Silence all "unused parameter" warnings from Clang. · 3b984d40
      Arthur O'Dwyer authored
      Compiling without warnings is a good goal, because it makes
      new warnings (which probably indicate bugs) stand out rather
      than getting lost in the spam.
      
      My fixes fall into two categories:
      
          - Adding (void) casts of unused parameters, where their
            unusedness seems like a TODO (or in some cases a bug?).
      
          - Removing parameter names altogether, where the function
            is clearly a stub that will never use its parameters.
      
      Should be no change in behavior.
      3b984d40
  26. 24 Aug, 2012 1 commit
    • Arthur O'Dwyer's avatar
      Add a missing null-check, turning a segfault into an assertion. · 537a8027
      Arthur O'Dwyer authored
      Static analysis says:
      src\tcp_address.cpp(297): error V595: The 'res' pointer was utilized before it was verified against nullptr. Check lines: 297, 301.
      src\tcp_address.cpp(603): error V106: Implicit type conversion third argument 'full_bytes' of function 'memcmp' to memsize type.
      src\tcp_address.cpp(603): error V526: The 'memcmp' function returns 0 if corresponding buffers are equal. Consider examining the condition for mistakes.
      
      In fact the use of "memcmp" is correct, but the enclosing "if" isn't
      necessary, and the compiler is happier if "full_bytes" is a size_t.
      537a8027
  27. 06 Jul, 2012 2 commits
  28. 14 Jun, 2012 1 commit
  29. 28 May, 2012 1 commit
  30. 18 Apr, 2012 2 commits
  31. 13 Apr, 2012 1 commit
  32. 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
  33. 27 Mar, 2012 2 commits