1. 12 Nov, 2021 1 commit
    • Rosen Penev's avatar
      treewide: replace lock_guard with scoped_lock · 4e0e4c00
      Rosen Penev authored
      SonarLint reports the latter to be better:
      
      std::scoped_lock basically provides the same feature as std::lock_guard,
      but is more generic: It can lock several mutexes at the same time, with a
      deadlock prevention mechanism (see {rule:cpp:S5524}). The equivalent code
      to perform simultaneous locking with std::lock_guard is significantly more
      complex. Therefore, it is simpler to use std::scoped_lock all the time,
      even when locking only one mutex (there will be no performance impact).
      Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
      4e0e4c00
  2. 06 Oct, 2021 1 commit
  3. 17 May, 2021 1 commit
  4. 04 Mar, 2021 1 commit
    • Érico Rolim's avatar
      storage/plugins/CurlStorage: don't use glibc extension in · c95e3dc0
      Érico Rolim authored
      ParseTimePoint.
      
      %Z is a glibc extension to strptime, and is a no-op there, due to the
      mapping between timezone names and their definition (especially when the
      name comes from a different machine) being ambiguous / impossible.  Time
      in HTTP headers is guaranteed to be UTC.
      
      Passing an unknown format to strptime() implementations that don't
      support it will generally cause them to return NULL, which will lead to
      ParseTimePoint throwing an exception and ParseTimeStamp using an
      unnecessary fallback.
      
      Since the timezone name goes at the end of the string, we don't need to
      use %Z to skip it (could be an issue in a different time stamp format),
      so simply removing %Z works best.
      c95e3dc0
  5. 08 Jan, 2021 1 commit
  6. 05 Jan, 2021 1 commit
  7. 04 Jan, 2021 3 commits
  8. 01 Jan, 2021 1 commit
  9. 01 Dec, 2020 1 commit
  10. 06 Nov, 2020 1 commit
  11. 30 May, 2020 1 commit
  12. 22 Apr, 2020 1 commit
  13. 15 Apr, 2020 2 commits
  14. 03 Apr, 2020 3 commits
  15. 26 Mar, 2020 1 commit
  16. 16 Mar, 2020 1 commit
  17. 13 Mar, 2020 1 commit
  18. 12 Mar, 2020 2 commits
  19. 04 Feb, 2020 1 commit
  20. 18 Jan, 2020 1 commit
  21. 23 Dec, 2019 1 commit
  22. 16 Dec, 2019 1 commit
  23. 15 Oct, 2019 7 commits
  24. 07 Oct, 2019 1 commit
  25. 09 Aug, 2019 1 commit
  26. 05 Jul, 2019 1 commit
  27. 08 May, 2019 1 commit
  28. 07 May, 2019 1 commit