When the ctx a remote file was opened with is cancelled while one of its operations is still stuck, probe the connection after a short grace period and tear it down if the keepalive goes unanswered. A cancel in the middle of a file on a frozen network now returns in about 2 s with the default keepalive instead of up to 40 s; a slow but live link is left alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cancel_test.go | ||
| errors.go | ||
| integration_test.go | ||
| sftpfs.go | ||
| sftpfs_test.go | ||
| symlink.go | ||