The previous download implementation was hampered by PHP's output buffer, leading to a maximum tar of approximately 62MB on my local setup. The last commit in this PR explicitly disables output buffering before writing tar output.
This further changes the blocking routine to work on a per-session basis, instead of using a global lock file. In case something goes sour, still, the user can just log out and in again to try again.
The previous download implementation was hampered by PHP's output buffer, leading to a maximum tar of approximately 62MB on my local setup. The last commit in this PR explicitly disables output buffering before writing `tar` output.
This further changes the blocking routine to work on a per-session basis, instead of using a global lock file. In case something goes sour, still, the user can just log out and in again to try again.
Presented as an alternative to #18
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The previous download implementation was hampered by PHP's output buffer, leading to a maximum tar of approximately 62MB on my local setup. The last commit in this PR explicitly disables output buffering before writing
taroutput.This further changes the blocking routine to work on a per-session basis, instead of using a global lock file. In case something goes sour, still, the user can just log out and in again to try again.
Presented as an alternative to #18
@@ -23,3 +23,2 @@if($album->kind !== 'Album')throw new UnexpectedValueException('Specified tag does not correspond to an album');if (isset($_SESSION['current_export']))Ik zie deze check, maar ik zie niet waar deze session variable geset word? Of mis ik iets.
Oef, terecht. Ik vermoed dat ik die ben verloren in een overijverige rebase. Gaan we fixen.