1. 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
  2. 13 Feb, 2012 2 commits
  3. 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
  4. 09 Oct, 2011 1 commit
  5. 20 Sep, 2011 4 commits
  6. 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
  7. 29 Jan, 2011 1 commit
  8. 27 Dec, 2010 1 commit
  9. 04 Nov, 2010 1 commit
    • Mantas Mikulenas's avatar
      server_socket: remove AI_ADDRCONFIG · ec48b5ea
      Mantas Mikulenas authored
      When you pass the flag AI_ADDRCONFIG to getaddrinfo(), it does not
      consider address families on the loopback device.  When run on a
      machine without an external network card, just with "lo", it was
      unable to look up any address.
      ec48b5ea
  10. 05 Oct, 2010 1 commit