Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 30 second timeout to CurlAgent #308

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Tatsh
Copy link

@Tatsh Tatsh commented Feb 19, 2020

Resolves #306

@Tatsh Tatsh changed the title Add 30 second timeout option to CurlAgent Add 30 second timeout to CurlAgent Feb 19, 2020
@Heiko-L
Copy link

Heiko-L commented Oct 5, 2020

That would also timeout when syncing large files, am I right?

@Tatsh
Copy link
Author

Tatsh commented Oct 5, 2020

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.

@Tatsh
Copy link
Author

Tatsh commented Oct 5, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

macOS: sometimes hangs in CurlAgent::ExecCurl
2 participants