mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-09-28 17:29:02 +00:00
Fixed a bug #18(losing check retry error)
This commit is contained in:
parent
c003076053
commit
d7563309a2
@ -3127,8 +3127,12 @@ int S3fsMultiCurl::MultiRead(void)
|
|||||||
|
|
||||||
// For retry
|
// For retry
|
||||||
if(RetryCallback){
|
if(RetryCallback){
|
||||||
retrycurl = RetryCallback(s3fscurl);
|
if(NULL != (retrycurl = RetryCallback(s3fscurl))){
|
||||||
cMap_all[retrycurl->hCurl] = retrycurl;
|
cMap_all[retrycurl->hCurl] = retrycurl;
|
||||||
|
}else{
|
||||||
|
// do not care, but set...
|
||||||
|
isRetry = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(s3fscurl != retrycurl){
|
if(s3fscurl != retrycurl){
|
||||||
s3fscurl->DestroyCurlHandle();
|
s3fscurl->DestroyCurlHandle();
|
||||||
|
Loading…
Reference in New Issue
Block a user