mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-06-07 03:20:50 +00:00
First attempt to resolve issue 161 -- added handler for
curl error code 23 - CURLE_WRITE_ERROR When encountered, it does a retry. git-svn-id: http://s3fs.googlecode.com/svn/trunk@329 df820570-a93a-0410-bd06-b72b767a4274
This commit is contained in:
parent
48d1a73e06
commit
2fe1abc66b
|
@ -1,7 +1,7 @@
|
|||
dnl Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.59)
|
||||
AC_INIT(s3fs, 1.49)
|
||||
AC_INIT(s3fs, 1.50)
|
||||
|
||||
|
||||
AC_CANONICAL_SYSTEM
|
||||
|
|
|
@ -626,6 +626,11 @@ static int my_curl_easy_perform(CURL* curl, BodyStruct* body = NULL, FILE* f = 0
|
|||
}
|
||||
break;
|
||||
|
||||
case CURLE_WRITE_ERROR:
|
||||
syslog(LOG_ERR, "### CURLE_WRITE_ERROR");
|
||||
sleep(2);
|
||||
break;
|
||||
|
||||
case CURLE_OPERATION_TIMEDOUT:
|
||||
syslog(LOG_ERR, "### CURLE_OPERATION_TIMEDOUT");
|
||||
sleep(2);
|
||||
|
|
Loading…
Reference in New Issue
Block a user