mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-22 08:48:55 +00:00
Changes codes
1) Changed condition for retrying multipart error Changes condition that 404 is not retrying, other case is retrying, when multipart request failed. 2) file type wrong fdcache.h file type is wrong, so that fixed it. git-svn-id: http://s3fs.googlecode.com/svn/trunk@498 df820570-a93a-0410-bd06-b72b767a4274
This commit is contained in:
parent
8acbaf7199
commit
74db6748dd
@ -3091,6 +3091,9 @@ int S3fsMultiCurl::MultiRead(void)
|
||||
// as possibly in multipart
|
||||
DPRN("failed a request(%ld: %s)", responseCode, s3fscurl->url.c_str());
|
||||
isRetry = true;
|
||||
}else if(404 == responseCode){
|
||||
// not found
|
||||
DPRN("failed a request(%ld: %s)", responseCode, s3fscurl->url.c_str());
|
||||
}else if(500 == responseCode){
|
||||
// case of all other result, do retry.(11/13/2013)
|
||||
// because it was found that s3fs got 500 error from S3, but could success
|
||||
@ -3098,7 +3101,9 @@ int S3fsMultiCurl::MultiRead(void)
|
||||
DPRN("failed a request(%ld: %s)", responseCode, s3fscurl->url.c_str());
|
||||
isRetry = true;
|
||||
}else{
|
||||
// Retry in other case.
|
||||
DPRN("failed a request(%ld: %s)", responseCode, s3fscurl->url.c_str());
|
||||
isRetry = true;
|
||||
}
|
||||
}else{
|
||||
DPRN("failed a request(Unknown respons code: %s)", s3fscurl->url.c_str());
|
||||
|
@ -1,4 +1,4 @@
|
||||
#ifndef FD_CACHE_H_
|
||||
#ifndef FD_CACHE_H_
|
||||
#define FD_CACHE_H_
|
||||
|
||||
//------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user