]> source.dussan.org Git - nextcloud-server.git/commit
Reopen sessions if we need to write to them instead of keeping them open
authorJulius Härtl <jus@bitgrid.net>
Tue, 26 Apr 2022 10:57:58 +0000 (12:57 +0200)
committerJulius Härtl <jus@bitgrid.net>
Wed, 17 Aug 2022 10:10:26 +0000 (12:10 +0200)
commit9b4b72826ade5ab1bc7fb06048e62910ef607cd8
treeef8d14e06608c0491361eb9d2666f8523647272e
parent312b719acf686f51065e83290cd88704d703a50c
Reopen sessions if we need to write to them instead of keeping them open

Sessions are a locking operation until we write close them, so close
them early and reopen later in case we want to write to them

Signed-off-by: Julius Härtl <jus@bitgrid.net>
lib/base.php
lib/private/AppFramework/Middleware/SessionMiddleware.php
lib/private/Session/CryptoSessionData.php
lib/private/Session/Internal.php
lib/private/Session/Memory.php
lib/public/ISession.php