Merge pull request #26 from s3fs-fuse/bugfix#18

Fixed a bug #18(losing check retry error)
This commit is contained in:
Takeshi Nakatani 2014-03-30 15:44:59 +09:00
commit e23ea87953

View File

@ -3127,8 +3127,12 @@ int S3fsMultiCurl::MultiRead(void)
// For retry
if(RetryCallback){
retrycurl = RetryCallback(s3fscurl);
cMap_all[retrycurl->hCurl] = retrycurl;
if(NULL != (retrycurl = RetryCallback(s3fscurl))){
cMap_all[retrycurl->hCurl] = retrycurl;
}else{
// do not care, but set...
isRetry = false;
}
}
if(s3fscurl != retrycurl){
s3fscurl->DestroyCurlHandle();