1. 12 Mar, 2020 1 commit
    • Rosen Penev's avatar
      change errno.h to cerrno · edc4989d
      Rosen Penev authored
      The former is deprecated by C++14. It's also functionally the same.
      
      From the standard:
      
      19.4
      The header<cerrno>is described in Table 43. Its contents are the same as
      the POSIX header<errno.h>,except that errno shall be defined as a macro.
      [Note: The intent is to remain in close alignment with the POSIX
      standard.] A separate errno value shall be provided for each thread.
      Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
      edc4989d
  2. 01 Feb, 2020 1 commit
  3. 29 Jul, 2019 1 commit
  4. 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
  5. 21 Aug, 2018 2 commits
  6. 12 Dec, 2017 1 commit
  7. 03 Jan, 2017 1 commit
  8. 28 Oct, 2016 1 commit
  9. 12 Jun, 2016 1 commit
  10. 01 Mar, 2016 1 commit
  11. 26 Feb, 2016 1 commit
  12. 22 Jul, 2015 1 commit
  13. 10 Feb, 2015 4 commits
  14. 01 Jan, 2015 1 commit
  15. 30 Jul, 2014 1 commit
  16. 13 Jan, 2014 1 commit
  17. 04 Dec, 2013 2 commits
  18. 28 Nov, 2013 1 commit
  19. 04 Nov, 2013 1 commit
  20. 15 Oct, 2013 1 commit
  21. 05 Sep, 2013 1 commit
  22. 04 Sep, 2013 2 commits
  23. 07 Aug, 2013 1 commit
  24. 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
  25. 09 Oct, 2011 1 commit
  26. 20 Sep, 2011 3 commits
  27. 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
  28. 29 Jan, 2011 1 commit
  29. 18 May, 2010 1 commit
  30. 22 Mar, 2010 1 commit
  31. 01 Jan, 2010 1 commit
  32. 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