httpd/webdav: use a custom listener with read and write deadlines

This commit is contained in:
Nicola Murino
2021-05-07 20:41:20 +02:00
parent d4bfc3f6b5
commit 4ea4202b99
12 changed files with 133 additions and 48 deletions

View File

@@ -853,9 +853,9 @@ func (u *User) isFilePatternAllowed(virtualPath string) bool {
return true
}
// CanManahePublicKeys return true if this user is allowed to manage public keys
// CanManagePublicKeys return true if this user is allowed to manage public keys
// from the web client
func (u *User) CanManahePublicKeys() bool {
func (u *User) CanManagePublicKeys() bool {
return !utils.IsStringInSlice(WebClientPubKeyChangeDisabled, u.Filters.WebClient)
}