keepassium / KeePassium

KeePass-compatible password manager for iOS
https://keepassium.com
Other
1.2k stars 103 forks source link

File timeout is not enforced on some direct connections #398

Open keepassium opened 2 weeks ago

keepassium commented 2 weeks ago

Description "Consider file unreachable" timeout has no effect for most direct connections (Dropbox, OneDrive, GDrive).

How to reproduce Steps to reproduce the behavior:

  1. Databases → Connect to Server → select a database in Dropbox, OneDrive or Google Drive
  2. Long-press the database → Database Settings → set "Consider File Unreachable" to 1 second.
  3. Connect to a very unstable network (or use Network Link Conditioner with "100% Loss" preset)
  4. Select the database
  5. Observe the app keeps trying to reach the database longer than 1 second and does not respond to "Cancel" button.

Expected behavior The app should stop trying to reach the database after 1 second and switch to "If File is Unreachable" behavior.

Environment:

Additional context

Direct WebDAV connections handle access timeout setting correctly.

From: #391 (thanks, @jasperweiss)