sftpgo-mirror/webdavd
Nicola Murino daac90c4e1
fix a potential race condition for pre-login and ext auth
hooks

doing something like this:

err = provider.updateUser(u)
...
return provider.userExists(username)

could be racy if another update happen before

provider.userExists(username)

also pass a pointer to updateUser so if the user is modified inside
"validateUser" we can just return the modified user without do a new
query
2021-01-05 09:50:22 +01:00
..
file.go add Data At Rest Encryption support 2020-12-05 13:48:13 +01:00
handler.go add sftpfs storage backend 2020-12-12 10:31:09 +01:00
internal_test.go fix a potential race condition for pre-login and ext auth 2021-01-05 09:50:22 +01:00
mimecache.go webdav: performance improvements and bug fixes 2020-11-04 19:11:40 +01:00
server.go fix a potential race condition for pre-login and ext auth 2021-01-05 09:50:22 +01:00
webdavd.go mutal TLS: add support for revocation lists 2021-01-03 17:03:04 +01:00
webdavd_test.go mutal TLS: add support for revocation lists 2021-01-03 17:03:04 +01:00