- 09 Sep, 2021 9 commits
-
-
Nils Goroll authored
-
Nils Goroll authored
-
Nils Goroll authored
If, for some reason, an fcore lock could not get aquired, the expiry thread would keep the server locked until that file was available again. Avoid this situation with a trivial trylock and retry.
-
Nils Goroll authored
-
Nils Goroll authored
Keeping a local varaible and the struct response member with a pointer to the fcore was unnecessary complex and a possible cause for error. Now that holding a pointer is conceptually equal to holding a lock, we should really avoid the local variable. Also fixes an (unlikely) leaked lock for TUS_FINAL and method != POST
-
Nils Goroll authored
- move lock and unlock to tus_file.c - clear the fcore pointer argument when the lock is not acquired
-
Nils Goroll authored
If a GET arrived before a file was complete, we would miss to unlock it due to the fcore pointer missing in the response struct.
-
Nils Goroll authored
-
Nils Goroll authored
-
- 01 Sep, 2021 1 commit
-
-
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.
-
- 31 Aug, 2021 1 commit
-
-
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.
-
- 23 Mar, 2021 1 commit
-
-
Nils Goroll authored
-
- 22 Mar, 2021 1 commit
-
-
Nils Goroll authored
-
- 22 Feb, 2021 2 commits
-
-
Nils Goroll authored
-
Nils Goroll authored
-
- 16 Jan, 2021 2 commits
-
-
Nils Goroll authored
... at compile time It can still fail later, though.
-
Nils Goroll authored
-
- 04 Jan, 2021 1 commit
-
-
Nils Goroll authored
-
- 03 Jan, 2021 5 commits
-
-
Nils Goroll authored
-
Nils Goroll authored
-
Nils Goroll authored
-
Nils Goroll authored
-
Nils Goroll authored
-
- 09 Dec, 2020 2 commits
-
-
Nils Goroll authored
Ref varnish-cache ed13c9f24e60627b356d27f23f6548e4a44515df
- 17 Sep, 2020 2 commits
-
-
Nils Goroll authored
-
Nils Goroll authored
-
- 16 Sep, 2020 3 commits
-
-
Nils Goroll authored
-
Nils Goroll authored
-
Nils Goroll authored
-
- 15 Sep, 2020 2 commits
-
-
Nils Goroll authored
It might work with earlier versions, but I have not tested that yet.
-
Nils Goroll authored
-
- 08 Sep, 2020 8 commits
-
-
Nils Goroll authored
-
Nils Goroll authored
-
Nils Goroll authored
-
Nils Goroll authored
-
Nils Goroll authored
-
Nils Goroll authored
-
Nils Goroll authored
to avoid conflicts with the original files when -I includes the original sources.
-
Nils Goroll authored
-