Skip to content
Snippets Groups Projects
  1. 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
  2. Jun 26, 2020
  3. Jun 19, 2020
  4. Jun 09, 2020
  5. Jun 05, 2020
  6. May 28, 2020
  7. May 26, 2020
  8. May 25, 2020
  9. May 21, 2020
  10. May 20, 2020
  11. May 11, 2020
  12. May 07, 2020
  13. May 06, 2020
    • Sébastien Blin's avatar
      pjproject: avoid to fail the negotiation when TURN needs a retry · d10e7a1e
      Sébastien Blin authored
      This aims to fix the some negotiation failure when:
      UserA (TURN ipv4) calls UserB (ipv4 only)
      
      In fact, the first user will take some time to know the userB
      addresses to allow on the TURN. So, during this time, the TURN will
      give some EPIPE errors. EPIPE is code 32 defined by 120032 in pjsip
      (PJ_STATUS_FROM_OS(EPIPE)).
      
      So previous code was a mistake
      
      Change-Id: If38c5d36dc38bfe89e3b2ccfbf1b64c934639adb
      Unverified
      d10e7a1e
  14. May 01, 2020
    • Sébastien Blin's avatar
      pjproject: fix tls packet reconstruction · fe198fbe
      Sébastien Blin authored
      In the case whare two packets like this were received:
      
      P1
      +----------------+-------------+---------------+
      | data (X bytes) | header (2b) | data (1 byte) |
      +----------------+-------------+---------------+
      
      P2
      +----------------+
      | data (X bytes) |
      +----------------+
      
      The RTP loop used the last byte of p1 and the first
      byte of P2 as the header. Leading to malformed packets
      
      Change-Id: Ie714fcf0bab1e372f7433342ed60ed4e6d20aff3
      fe198fbe
  15. Apr 30, 2020
  16. Apr 28, 2020
  17. Apr 27, 2020
  18. Apr 24, 2020
  19. Apr 07, 2020
  20. Mar 31, 2020
  21. Mar 27, 2020
    • Sébastien Blin's avatar
      pjsip: fix TURN pending status · ef497b90
      Sébastien Blin authored
      The fix in current master branch doesn't make any sense. pkt_len
      contains incorrect data and is also used for incoming packets.
      Just return the size sent is enough
      
      Change-Id: I4c1ced40086b6418946ab1d384c93cc697304749
      Unverified
      ef497b90
  22. Mar 26, 2020
  23. Mar 25, 2020
    • jrun's avatar
      contrib: bump pjsip version to 2.10 · 1a78baf9
      jrun authored and Adrien Béraud's avatar Adrien Béraud committed
      also remove what has been upstreamed.
      also, logic of how upstream has implements dealing with pending packets
      on the socket is different now and therefore needs testing.
      
      minor change:
      - patches are now done in order.
      - all configs are moved to config_site.h; TODO: also move HOSTVARS to use.mak
      - enable epoll on linux
      
      Change-Id: I87b9389a845d4c4a41fc9e70c3a94a0a990ca83d
      1a78baf9
  24. Mar 13, 2020
  25. Feb 28, 2020
  26. Feb 18, 2020
  27. Feb 14, 2020
  28. Feb 11, 2020
  29. Feb 06, 2020
  30. Feb 05, 2020
  31. Feb 04, 2020
  32. Jan 30, 2020
Loading