mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-10 06:40:59 +00:00
Merge pull request #26 from s3fs-fuse/bugfix#18
Fixed a bug #18(losing check retry error)
This commit is contained in:
commit
e23ea87953
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user