FeatureFuel
0

WebDAV storage client has no connect timeout

Source: nextcloud/server#67579 · opened by @susnux
Description

OC\Files\Storage\DAV (used by WebDAV/Nextcloud external storages and federated shares) creates its Sabre client without any connect timeout:



When the remote drops packets, every PROPFIND or availability check waits for the operating system's TCP connect timeout (about 2 minutes), blocking the user's requests – see #65766, where an unreachable federated remote made the whole filesystem slow.

_Found by code reading._

Proposal

Set CURLOPT_CONNECTTIMEOUT (and possibly a configurable overall timeout) on the client, in line with the timeouts used by IClient.

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests