Don't crash when the same request is filled twice
authorKevin Ottens <kevin.ottens@nextcloud.com>
Mon, 25 Jan 2021 17:02:42 +0000 (18:02 +0100)
committerKevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com>
Tue, 26 Jan 2021 10:58:14 +0000 (10:58 +0000)
commit21035d48a69a7b14ea4e8c0ff99e1b3e5c94e5bf
tree13b86ee1563f52233c4f475d98f0486a29ead4c3
parentd3c7218ee84e862f1f8ac90a5fd9fc29aa4c8053
Don't crash when the same request is filled twice

The OS might request the same file again if we take too much time to
fulfill a request. So in case it's queueing the same one again instead
of bailing out just fail the second one and let the first one finish
properly.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/libsync/vfs/cfapi/vfs_cfapi.cpp