1
mirror of https://github.com/rclone/rclone synced 2024-11-29 07:55:12 +01:00
rclone/backend/webdav
Nick Craig-Wood 4827496234 webdav: fix race when creating directories - fixes #3035
Before this change a race condition existed in mkdir
- the directory was attempted to be created
- the parent didn't exist so it failed
- the parent was created
- the directory was created again

The last step failed as the directory was created in a different thread.

This was fixed by checking the error messages of MKCOL for both
directory creations, rather than only the first.
2019-03-11 16:20:05 +00:00
..
api webdav: allow IsCollection property to be integer or boolean - fixes #2964 2019-02-12 12:33:08 +00:00
odrvcookie backend: fix misspellings 2019-02-07 19:51:03 +01:00
webdav_test.go Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00
webdav.go webdav: fix race when creating directories - fixes #3035 2019-03-11 16:20:05 +00:00