1. 06 Mar, 2021 2 commits
  2. 05 Mar, 2021 3 commits
  3. 04 Mar, 2021 2 commits
  4. 26 Feb, 2021 14 commits
    • Sébastien Blin's avatar
      tls_session: avoid to retry handshake if stopped · 9c26f7b5
      Sébastien Blin authored
      getting a TlsSession::shutdown() while doing a gnutls_handshake
      provoke a loop (cause the handshake will return GNUTLS_E_INTERRUPTED
      and will loop until HANDSHAKE_MAX_RETRY).
      
      Change-Id: Ifabc24c815552a14781b72cb9baf66d987cb25ce
      9c26f7b5
    • Ming Rui Zhang's avatar
      sip: expose allowViaRewrite option and make it false by default · a944050e
      Ming Rui Zhang authored
      Gitlab: #456
      Change-Id: Ic44c9ce0b682bf8352b15ad9eaf8d51a15c4c657
      a944050e
    • Adrien Béraud's avatar
      log cleanup · d0c7c522
      Adrien Béraud authored
      Change-Id: I139b6fcb70986be033c88bbf7e0545af326ff407
      d0c7c522
    • Adrien Béraud's avatar
      namedirectory: cancel remaining requests on destruction · 7757a186
      Adrien Béraud authored
      Change-Id: I49383922aca110594410b7d86aafde2ece6af4b7
      7757a186
    • Adrien Béraud's avatar
      SipCall: capture weak_ptr instead of this to avoid use-after-free · 08dc49d1
      Adrien Béraud authored
      Change-Id: I92a9a61c8d34736af99693ec826dd2385c319bfa
      08dc49d1
    • Adrien Béraud's avatar
      CallServicesManager: check for handler id parsing exception · 33fe6bb3
      Adrien Béraud authored
      Change-Id: I5efa45a80f05c6ba4106e05234612c6ea5d6fdf9
      33fe6bb3
    • Maxim Cournoyer's avatar
      contrib: Streamline the wget options for downloading. · aa0d358f
      Maxim Cournoyer authored
      This brings wget performance up to par with that of curl, which makes
      downloading the contrib sources via wget about a ~6X faster.  Wget is
      now also made the preferred downloader, as it's a smaller than curl,
      and is GNU.
      
      * contrib/src/main.mak (download): Remove the -p option, not suitable
      for single file downloads (it's meant for retrieving all the resources
      of a web page).  This fixes a warning too.  Remove the --passive
      option, which is not documented.  It's probably equivalent to
      --passive-ftp, which is the default anyway.  Use --waitretry instead
      of -w.  The later was causing the 10 s delay to be inserted on every
      HTTP redirection, wasting time.
      
      Change-Id: Ibcd6805c66da3fb0c3f37b7128a34cf6c269f400
      aa0d358f
    • Maxim Cournoyer's avatar
      contrib: Relax the file name requirements for the contrib scripts. · 3fd44ec8
      Maxim Cournoyer authored
      It should only worry about its parent directory, not its grandparent.
      This makes it possible to bind mount just daemon/contrib in a
      container, to run 'make fetch' for example.
      
      * contrib/bootstrap: Adjust relative paths.
      * contrib/src/main.mak: Express using the CURDIR variable.
      (PATH): Express using the TOPSRC variable.
      (pkg_static): Express using the SRC environment variable.
      
      Change-Id: I02cba2249e4971d76ef0af0fa00f4b1af61c5aff
      3fd44ec8
    • Maxim Cournoyer's avatar
      contrib: libressl: Validate checksum and fix prerequisite. · a8634446
      Maxim Cournoyer authored
      The 'fetch' target relies on the prerequisites of the .sum-$(PKG)
      files.  Prior to this change, 'make fetch' would not fetch the
      openbsd-libressl tarball.
      
      Change-Id: Ic91cc7032243d0c0f3b3d69fb74cfb3c633d0fc3
      a8634446
    • Maxim Cournoyer's avatar
      contrib: Add a 'list-tarballs' target. · 88f2c6fe
      Maxim Cournoyer authored
      This target can be used to print a list of the contrib tarballs
      required to build the daemon.  It can be used to copy only the
      required tarballs from a cache when building a source release, for
      example.
      
      Change-Id: I402c29989b3e6fed8a82418d19dbbacea8c44f50
      88f2c6fe
    • Maxim Cournoyer's avatar
      contrib: Ease the configuration of a custom cache directory. · 6d3b0c07
      Maxim Cournoyer authored
      It was previously possible by overriding the TARBALLS variable on each
      make call, but that's inconvenient.  This changes allows specifying it
      once, at bootstrap time.  If the TARBALLS environment is defined, it
      is also honored (and takes precedence over the value provided at
      bootstrap time).
      
      * contrib/src/ffmpeg/rules.mak (ffmpeg): Because the $(TARBALLS)
      variable is now made absolute (for clarity in the build output), do
      not use a relative path.
      * contrib/src/onnx/rules.mak (onnx): Likewise.
      * contrib/src/vpx/rules.mak (libvpx): Likewise.
      * contrib/src/x264/rules.mak: Likewise.
      
      Change-Id: I07497b095938c7885159f44753ead2814ed2a2fe
      6d3b0c07
    • Adrien Béraud's avatar
      Revert "namedirectory: prevent deadlock on destruction" · ab6b1726
      Adrien Béraud authored
      Reason for revert: breaks the design
      
      Change-Id: Ib94d36d5f671628ddfcbaaa4fef180821e7a79e3
      ab6b1726
    • Aline Gondim Santos's avatar
      plugins: internalize reload logic · 010b9124
      Aline Gondim Santos authored
      Reload plugins libraries after setting or resetting preferences.
      Previously unloading and reloading should be done by client.
      
      GitLab: #418
      Change-Id: Ib6938cfe63c2d6a6336adee4994da6a54be7ecd8
      010b9124
    • Andreas Traczyk's avatar
      namedirectory: prevent deadlock on destruction · eacce164
      Andreas Traczyk authored
      The default status code of 0 is passed to the done callbacks when
      the requests are destroyed. Returning from the callback when we get
      this code prevents locking the mutex on multiple times on the same
      thread.
      
      Change-Id: I4e6da6de7b6572d6a0f744c3b90d1be28ad0298c
      eacce164
  5. 25 Feb, 2021 2 commits
  6. 24 Feb, 2021 3 commits
  7. 22 Feb, 2021 3 commits
  8. 19 Feb, 2021 3 commits
    • Ming Rui Zhang's avatar
      misc: omit cmake ZERO_CHECK to accommodate new vs update · 3b14731d
      Ming Rui Zhang authored
      daemon cmake ZERO_CHECK reference from ring-daemon vcxproj file
      will cause the build to fail for client qt sln on windows when
      using the newest Visual Studio
      
      Change-Id: I0488f65a636b28ab1ba9a2add4550d5ce9a52ca1
      3b14731d
    • Sébastien Blin's avatar
      rfc6544: fix "Connection refused" error code · f204ebb7
      Sébastien Blin authored
      4463ed9e introduced a regression
      and was checking for 70000+err instead of 120000+err.
      
      Connection refused is 120111 (PJ_ERRNO_START_SYS + 111) and
      not 70111 (PJ_ERRNO_START_STATUS + 111) leading to incorrect
      error detection and some negotiation failed.
      
      This patch also introduces some of the logs I used to debug this
      issue that can be useful if a similar scenario come back.
      
      Change-Id: I2a0e23f07f07ae81db14daea5d257976463c1133
      GitLab: #438
      f204ebb7
    • Adrien Béraud's avatar
      opensl: declare AEC interfaces as optional · 316d6fed
      Adrien Béraud authored
      Change-Id: I6ccffb6ed28255922db2ca752503c42269b982e2
      316d6fed
  9. 18 Feb, 2021 5 commits
  10. 17 Feb, 2021 2 commits
    • Sébastien Blin's avatar
      namedirectory: fix double free on requests_ · 34b53ccd
      Sébastien Blin authored
      the map should be protected to avoid erasing requests during
      the shutdown and in the callback
      
      Change-Id: I003b868239209c7ccd4f22274cbc2c949fefba2a
      GitLab: #440
      34b53ccd
    • Mohamed Chibani's avatar
      upnp: always delete released mappings · cafc155d
      Mohamed Chibani authored
      Currently, a released mapping is not deleted but rather set as
      available for future use. However, in some circumstances, the
      socket bound to the mapped port may take some time to be completed
      closed and ready for reuse. Which means if the mapping is reused
      shortly after it was released, the socket binding may fail  on the
      mapped port.
      To prevent this race, a relased  mapping is always deleted.
      Note that in the current implementation, new mapping will be
      automatically requested if needed.
      
      Gitlab: #413
      
      Change-Id: I9e6dce912aa14e29050669940b2846038b0a591c
      cafc155d
  11. 16 Feb, 2021 1 commit