server/lib
Roeland Jago Douma 5a61a794d4
Do not write and read rootcerts.crt at the same time
(Possibly) fixes #3470

When updating the main file /files_external/rootcerts.crt we should not
read from /files_external/rootcerts.crt at the same time.

For 2 reasons: writing to a file and reading from it at the same time
can have non deterministic results

And we don't want all the certificates to appear 2 times in there.

This isn't caught by our standard file locking (that does not allow this
actually) because it is in a non locked path....

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-05-09 13:00:07 +02:00
..
composer Merge pull request #4514 from nextcloud/automatic-mysql-4byte-detection 2017-05-08 12:18:40 +02:00
l10n [tx-robot] updated from transifex 2017-05-09 00:07:51 +00:00
private Do not write and read rootcerts.crt at the same time 2017-05-09 13:00:07 +02:00
public Merge pull request #4736 from nextcloud/richdef-opengraph 2017-05-09 11:15:55 +02:00
autoloader.php Revert "Add a magic wrapper to allow phpunit4 to run the code again " 2017-03-20 14:25:43 +01:00
base.php Fix escaped HTML on error pages 2017-05-08 21:16:08 -05:00