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
Curl timeout is too short for some connections #30
Comments
From 7e9c0e32912ececc3a9cde5f0f11465f2ec9a2dd Mon Sep 17 00:00:00 2001 On branch add_connect_timeout modified: cloudfuse.ccloudfsapi.c | 12 +++++++++--- diff --git a/cloudfsapi.c b/cloudfsapi.c #ifdef HAVE_OPENSSL
@@ -354,6 +355,11 @@ int create_directory(const char *path) +void cloudfs_connect_timeout(int conn_timeout)
void cloudfs_debug(int dbg)
diff --git a/cloudfuse.c b/cloudfuse.c static int cache_timeout; typedef struct dir_cache
int parse_option(void *data, const char *arg, int key, struct fuse_args *outargs)
1.7.5.4 |
When running cloudefuse I would receive a "Unable to authenticate." error.
Using the same authentication url and credentials, I was able to authenticate.
The root cause is that my connection was timing out. Please increase the default or add an option to set the timeout.
I will post a patch that adds a connect_timeout option.
The text was updated successfully, but these errors were encountered: