1. 17 Jun, 2019 1 commit
  2. 20 Mar, 2019 1 commit
  3. 31 Oct, 2018 1 commit
  4. 14 Aug, 2018 1 commit
  5. 07 Aug, 2018 1 commit
  6. 10 Aug, 2017 4 commits
  7. 03 Jan, 2017 1 commit
  8. 28 Oct, 2016 1 commit
  9. 01 Mar, 2016 1 commit
  10. 26 Feb, 2016 1 commit
  11. 17 Sep, 2015 1 commit
  12. 10 Feb, 2015 2 commits
  13. 01 Jan, 2015 1 commit
  14. 13 Jan, 2014 1 commit
  15. 15 Dec, 2013 1 commit
  16. 15 Oct, 2013 1 commit
  17. 04 Sep, 2013 1 commit
  18. 07 Aug, 2013 1 commit
  19. 04 Feb, 2013 1 commit
  20. 15 Jan, 2013 2 commits
  21. 02 Aug, 2012 1 commit
  22. 13 Oct, 2011 1 commit
    • Max Kellermann's avatar
      configure.ac: define WINVER · c30c46cd
      Max Kellermann authored
      Ensure that WINVER is defined early enough, so other system headers
      won't fall back to their default value.  Specifically, this solves a
      build failure (-Werror) with mingw-w64 ("WINVER redefined").
      c30c46cd
  23. 09 Oct, 2011 1 commit
  24. 21 Sep, 2011 1 commit
    • Dan McGee's avatar
      Simplify setsockopt() casting workaround · 81768801
      Dan McGee authored
      On Win32, the third setsockopt parameter has type (char *) while on POSIX
      systems it is (void *). However, given that it is a no-op cast to go from a
      char pointer to a void pointer, we can cast to a char pointer (with a
      possible const modifier) on all platforms and satisfy the compiler.
      Signed-off-by: 's avatarDan McGee <dan@archlinux.org>
      81768801
  25. 20 Sep, 2011 2 commits
  26. 19 Sep, 2011 1 commit
    • Dan McGee's avatar
      Set socket TCP keepalive option on incoming connections · 27946a98
      Dan McGee authored
      If a connected host disappears without our knowledge, as can happen over
      wireless or a hibernating machine, we continue to hold the port open waiting
      for messages. Because we never try to send anything down this now-broken
      pipe, the connection will sit idle taking up a slot in our allowed incoming
      connections list.
      
      If enough of these happen, an unintended Denial of Service takes place,
      where all connection slots are filled with now-broken, never ending
      connections. Setting the TCP keepalive option at least allows these to time
      out after the default two hours, which is sufficient in the non-malicious
      case.
      Signed-off-by: 's avatarDan McGee <dan@archlinux.org>
      27946a98
  27. 29 Jan, 2011 1 commit
  28. 18 May, 2010 1 commit
  29. 22 Mar, 2010 1 commit
  30. 01 Jan, 2010 1 commit
  31. 12 Nov, 2009 1 commit
    • Max Kellermann's avatar
      include config.h in all sources · 5b82ffc2
      Max Kellermann authored
      After we've been hit by Large File Support problems several times in
      the past week (which only occur on 32 bit platforms, which I don't
      have), this is yet another attempt to fix the issue.
      5b82ffc2
  32. 08 Nov, 2009 1 commit
  33. 07 Nov, 2009 1 commit
    • Max Kellermann's avatar
      set the close-on-exec flag on all file descriptors · e3af0032
      Max Kellermann authored
      Added the "fd_util" library, which attempts to use the new thread-safe
      Linux system calls pipe2(), accept4() and the options O_CLOEXEC,
      SOCK_CLOEXEC.  Without these, it falls back to FD_CLOEXEC, which is
      not thread safe.
      
      This is particularly important for the "pipe" output plugin (and
      others, such as JACK/PulseAudio), because we were heavily leaking file
      descriptors to child processes.
      e3af0032
  34. 01 Apr, 2009 1 commit