Skip to content
Snippets Groups Projects
  1. Jul 13, 2020
  2. Jul 09, 2020
  3. Jul 08, 2020
  4. Jul 07, 2020
  5. Jul 06, 2020
  6. Jul 03, 2020
  7. Jul 02, 2020
  8. Jul 01, 2020
  9. Jun 30, 2020
  10. Jun 29, 2020
    • Sébastien Blin's avatar
      pjproject: fix TCP sockets death detection · 93f85f37
      Sébastien Blin authored
      TCP_KEEPALIVE are not enough to detect that TCP connections are dead or not.
      Some routers doesn't seems to support TCP_KEEPALIVE and moreover, sometimes
      the settings is just not enough as described in this article:
      https://blog.cloudflare.com/when-tcp-sockets-refuse-to-die/
      
      RFC 5482 describe a new option for sockets: TCP_USER_TIMEOUT which must be used
      with keep alives to detect closed connection in a better way.
      
      In this patch we set TCP_USER_TIMEOUT to 30 seconds (like the keep alive). This is
      a TCP level socket option used to specify the max time in ms that transmitted data
      can be unacknowledged before a force close.
      
      Change-Id: I217616b9b9e08adfa5a044a451fbbc97faf1939e
      Gitlab: #243
      Unverified
      93f85f37
    • Sébastien Blin's avatar
      file transfer: add some tests · 8473608f
      Sébastien Blin authored and Adrien Béraud's avatar Adrien Béraud committed
      Change-Id: I64783d990cf463a5a873314c978e42a7b19bb55b
      Gitlab: #228
      8473608f
  11. Jun 28, 2020
Loading