1. 30 Apr, 2014 1 commit
  2. 02 Jan, 2014 1 commit
  3. 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
  4. 31 Jan, 2013 1 commit
  5. 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
  6. 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
  7. 06 Jul, 2012 2 commits
  8. 14 Jun, 2012 1 commit
  9. 28 May, 2012 1 commit
  10. 18 Apr, 2012 2 commits
  11. 13 Apr, 2012 1 commit
  12. 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
  13. 27 Mar, 2012 3 commits
  14. 25 Mar, 2012 1 commit
    • Martin Hurton's avatar
      Don't set the AI_V4MAPPED flag on FreeBSD · c2e9997a
      Martin Hurton authored
      The problem is that even though the AI_V4MAPPED flag is defined
      on FreeBSD, the getaddrinfo function does not support it and
      returns EAI_BADFLAGS.
      
      The patch also sets the flag on Windows if it is defined there.
      This is true for Windows Vista and later.
      
      Fixes issue #331.
      c2e9997a
  15. 16 Feb, 2012 1 commit
  16. 11 Feb, 2012 1 commit
  17. 08 Feb, 2012 1 commit
  18. 15 Nov, 2011 1 commit
  19. 04 Nov, 2011 1 commit
  20. 01 Nov, 2011 1 commit
  21. 31 Oct, 2011 1 commit
  22. 03 Sep, 2011 1 commit
  23. 02 Sep, 2011 1 commit
  24. 19 Aug, 2011 1 commit
  25. 18 Aug, 2011 3 commits
  26. 15 Aug, 2011 2 commits
  27. 14 Aug, 2011 2 commits
  28. 08 Aug, 2011 2 commits
  29. 29 Jul, 2011 1 commit
  30. 28 Jul, 2011 1 commit
  31. 29 Jun, 2011 1 commit