grive2
grive2 copied to clipboard
Add 30 second timeout to CurlAgent
Resolves #306
That would also timeout when syncing large files, am I right?
I am not sure what the behaviour is now since I haven't had corrupted files transfer with this patch. I've transferred multi-GB files with this patch enabled.
I'll have to check again on my machine with a large file.
Ran my patched version (built locally) with a 26.3 GiB file and it works. This took much longer than 30 seconds to upload. I verified the checksums of the file after re-downloading it from Drive via web browser.
The issue I was having before was that on macOS it would hang forever if anything went wrong with the connection, which was bad for timed jobs. This solved the issue. But now on macOS the #307 PR code should be used instead.