1. 04 Aug, 2020 1 commit
  2. 31 Jul, 2020 1 commit
  3. 25 Jul, 2020 1 commit
  4. 22 Jul, 2020 1 commit
    • Sébastien Blin's avatar
      opendht: remove --with-http-fork · db5abdd5
      Sébastien Blin authored
      This fork is deprecated and not used anymore on proxies
      Also use official repo for http-parser
      
      Change-Id: I2dcccb5616171ce20de17e805e77d72a8ebd167d
      db5abdd5
  5. 13 Jul, 2020 1 commit
  6. 09 Jul, 2020 2 commits
    • Sébastien Blin's avatar
      pjproject: fix crash in pj_turn_session_on_rx_pkt2() · 7c8491ba
      Sébastien Blin authored
      Instead of letting the TURN session destroy itself when finished, the current
      code is overriding the user_data attached to the session. This is not needed
      because the turn session will be stopped when the timer will complete and
      this can cause some crashes in pj_turn_session_on_rx_pkt2 because the data
      is erased while not protected via turn_sock->grp_lock() (mostly in turn_sock.c,
      on_data_read)
      
      Change-Id: Ia4a12917711b5534b372cb3a26e9141e5393c569
      Gitlab: #299
      7c8491ba
    • Sébastien Blin's avatar
      pjproject: avoid to declare check valid too soon · 3f598a6a
      Sébastien Blin authored
      The relay candidate was declared as suceeded even if not in the valid list.
      Because of this, some negotiations were successful but no valid candidates
      were given to the app.
      
      Moreover, the connection timeout checks were using the wrong timer. This
      avoids to cancel successful negotiations to check a connection timeout.
      
      Finally, some clean is done with this patch
      
      Change-Id: Iacfbf3b9f5faafe1bd05f66157485226761c30bf
      Gitlab: #256
      3f598a6a
  7. 06 Jul, 2020 3 commits
  8. 03 Jul, 2020 1 commit
  9. 02 Jul, 2020 4 commits
  10. 29 Jun, 2020 1 commit
    • 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
      93f85f37
  11. 26 Jun, 2020 1 commit
  12. 19 Jun, 2020 1 commit
  13. 09 Jun, 2020 1 commit
  14. 05 Jun, 2020 2 commits
  15. 28 May, 2020 1 commit
  16. 26 May, 2020 2 commits
  17. 25 May, 2020 1 commit
  18. 21 May, 2020 1 commit
  19. 20 May, 2020 1 commit
  20. 11 May, 2020 1 commit
  21. 07 May, 2020 2 commits
  22. 06 May, 2020 1 commit
    • 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
      d10e7a1e
  23. 01 May, 2020 1 commit
    • 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
  24. 30 Apr, 2020 1 commit
  25. 28 Apr, 2020 1 commit
  26. 27 Apr, 2020 1 commit
  27. 24 Apr, 2020 1 commit
  28. 07 Apr, 2020 1 commit
  29. 31 Mar, 2020 2 commits
  30. 27 Mar, 2020 1 commit
    • 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
      ef497b90