1. 10 Apr, 2017 2 commits
  2. 04 Apr, 2017 1 commit
    • Jake Cobb's avatar
      Prevent DOS by asserts in TCP tuning (#2492) · 5d5263ed
      Jake Cobb authored
      * Prevent DOS by asserts in TCP tuning
      
      -Propagates socket option errors from the
      tuning functions to the callers.
      -Asserts a subset of error conditions during tuning,
      excluding external network causes.
      -Checks tuning results in 3 call sites and treats
      them like failures to connect, accept, etc.
      
      * Fix variable name
      
      * Remove lambda requiring C++11
      5d5263ed
  3. 17 Sep, 2016 1 commit
  4. 14 May, 2016 1 commit
  5. 10 May, 2016 1 commit
  6. 01 May, 2016 1 commit
  7. 18 Feb, 2016 1 commit
  8. 09 Feb, 2016 2 commits
    • Pieter Hintjens's avatar
      Problem: ZMQ_TCP_RECV_BUFFER/SEND_BUFFER are redundant · 7470c00d
      Pieter Hintjens authored
      These options are confusing and redundant. Their names suggest
      they apply to the tcp:// transport, yet they are used for all
      stream protocols. The methods zmq::set_tcp_receive_buffer and
      zmq::set_tcp_send_buffer don't use these values at all, they use
      ZMQ_SNDBUF and ZMQ_RCVBUF.
      
      Solution: merge these new options into ZMQ_SNDBUF and ZMQ_RCVBUF.
      
      This means defaulting these two options to 8192, and removing the
      new options. We now have ZMQ_SNDBUF and ZMQ_RCVBUF being used both
      for TCP socket control, and for input/output buffering.
      
      Note: the default for SNDBUF and RCVBUF are otherwise 4096.
      7470c00d
    • Pieter Hintjens's avatar
      Problem: ZMQ_TCP_RETRANSMIT_TIMEOUT is a clumsy name · da8ce55a
      Pieter Hintjens authored
      Solution: rename to ZMQ_MAXRT
      
      This is the option name used on Windows, so easier to use and
      remember.
      da8ce55a
  9. 28 Jan, 2016 1 commit
  10. 01 Nov, 2015 1 commit
  11. 11 Sep, 2015 1 commit
  12. 21 Aug, 2015 2 commits
  13. 14 Aug, 2015 3 commits
  14. 06 Aug, 2015 2 commits
  15. 07 Jul, 2015 1 commit
  16. 02 Jun, 2015 1 commit
  17. 22 Jan, 2015 1 commit
  18. 22 Jun, 2014 1 commit
    • Martin Hurton's avatar
      Add support for SOCKS proxies · f06ca69a
      Martin Hurton authored
      This is still raw and experimental.
      To connect through a SOCKS proxy, set ZMQ_SOCKS_PROXY socket option on
      socket before issuing a connect call, e.g.:
      
          zmq_setsockopt (s, ZMQ_SOCKS_PROXY,
              "127.0.0.1:22222", strlen ("127.0.0.1:22222"));
          zmq_connect (s, "tcp://127.0.0.1:5555");
      
      Known limitations:
      - only SOCKS version 5 supported
      - authentication not supported
      - new option is still undocumented
      f06ca69a
  19. 18 Feb, 2014 1 commit
  20. 02 Jan, 2014 1 commit
  21. 22 Dec, 2013 1 commit
  22. 30 Jun, 2013 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. 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
  25. 12 Jun, 2012 2 commits
  26. 08 Jun, 2012 1 commit
    • Hiten P's avatar
      Consolidate TCP-specific common code into their own files. · db13fbf4
      Hiten P authored
      The TCP keepalive tuning code has been moved into the newly added
      files; this also allows future TCP-specific code to be added into
      these files, without bloating the IP level code and establishes a
      known file structure for other IP-based transports.
      
      Remember: this is a no-op change, hence no API or functionality
      was changed as part of this commit.
      db13fbf4
  27. 07 May, 2012 1 commit
  28. 13 Apr, 2012 1 commit
  29. 06 Apr, 2012 1 commit
  30. 05 Apr, 2012 1 commit
  31. 01 Nov, 2011 1 commit
  32. 31 Oct, 2011 1 commit
  33. 26 Oct, 2011 1 commit