1. 18 Oct, 2021 3 commits
  2. 01 Oct, 2021 5 commits
  3. 10 Sep, 2021 3 commits
    • Nils Goroll's avatar
      polish · f52ac7b8
      Nils Goroll authored
    • Nils Goroll's avatar
      Rework interaction between expiry and file deletions from elsewhere · 75790349
      Nils Goroll authored
      There was an inherent race between the expiry thread and other file
      We solve this by making clear that expiry owns the reference. When
      some user action requires deletion, expiry is set to "now" and the
      file is removed from the index. We use the srvref as a marker
      for index removal. After removal from the index, the file can
      not be found any longer, so gaining an srvref is not possible.
      When expiry is first to delete the file, the file is removed from
      the index and the ref is lost.
    • Nils Goroll's avatar
      Avoid a potential race when shutting down · 4e5ca063
      Nils Goroll authored
      tus_file_shutdown() deletes all files.
      This could interfere with the exp thread if it expired a file at the
      same time.
      Solve this race by first stopping the exp thread, then deleting all files
      and then running final checks that exp is actually cleaned up.
  4. 09 Sep, 2021 12 commits
  5. 01 Sep, 2021 1 commit
    • Nils Goroll's avatar
      Improve partial local writes · 1c980ecc
      Nils Goroll authored
      If we can only save part of the request body locally, there is no need to discard
      all of it.
      Yet, if checksums are enabled, we will still fail later with a 413.
  6. 31 Aug, 2021 1 commit
    • Nils Goroll's avatar
      Fix behavior for empty file with .done(url) · 515e0395
      Nils Goroll authored
      If we set a done url (which is sent in Content-Location or Location for
      a 301) with an empty file (POST with Upload-Length: 0), we would trigger
      the two removed assertions. They are bad because a zero sized upload
      is legit and can have a Content-Location.
  7. 23 Mar, 2021 1 commit
  8. 22 Mar, 2021 1 commit
  9. 22 Feb, 2021 2 commits
  10. 16 Jan, 2021 2 commits
  11. 04 Jan, 2021 1 commit
  12. 03 Jan, 2021 5 commits
  13. 09 Dec, 2020 2 commits
  14. 17 Sep, 2020 1 commit