1. 29 Jul, 2019 1 commit
  2. 19 Nov, 2018 1 commit
    • Max Kellermann's avatar
      check.h: remove obsolete header · ce49d99c
      Max Kellermann authored
      Since we switched from autotools to Meson in commit
      94592c14, we don't need to include
      `config.h` early to properly enable large file support.  Meson passes
      the required macros on the compiler command line instead of defining
      them in `config.h`.
      
      This means we can include `config.h` at any time, whenever we want to
      check its macros, and there are no ordering constraints.
      ce49d99c
  3. 21 Aug, 2018 2 commits
  4. 12 Dec, 2017 1 commit
  5. 03 Jan, 2017 1 commit
  6. 28 Oct, 2016 1 commit
  7. 12 Jun, 2016 1 commit
  8. 01 Mar, 2016 1 commit
  9. 26 Feb, 2016 1 commit
  10. 22 Jul, 2015 1 commit
  11. 10 Feb, 2015 4 commits
  12. 01 Jan, 2015 1 commit
  13. 30 Jul, 2014 1 commit
  14. 13 Jan, 2014 1 commit
  15. 04 Dec, 2013 2 commits
  16. 28 Nov, 2013 1 commit
  17. 04 Nov, 2013 1 commit
  18. 15 Oct, 2013 1 commit
  19. 05 Sep, 2013 1 commit
  20. 04 Sep, 2013 2 commits
  21. 07 Aug, 2013 1 commit
  22. 09 Jul, 2012 1 commit
    • Max Kellermann's avatar
      require GLib 2.16 · 5dfc0918
      Max Kellermann authored
      GLib 2.16 was released more than 4 years ago.  Let's remove some cruft
      from the glib_compat.h header, and avoid new cruft to it.
      5dfc0918
  23. 09 Oct, 2011 1 commit
  24. 20 Sep, 2011 3 commits
  25. 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
  26. 29 Jan, 2011 1 commit
  27. 18 May, 2010 1 commit
  28. 22 Mar, 2010 1 commit
  29. 01 Jan, 2010 1 commit
  30. 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
  31. 08 Nov, 2009 1 commit
  32. 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