mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-18 02:05:13 +00:00
Remove useless CURLE_OPERATION_TIMEDOUT check
CheckBucket only returns errno and HTTP status codes.
This commit is contained in:
parent
c644e4bef2
commit
01ac815346
@ -3881,9 +3881,6 @@ static int s3fs_check_service()
|
|||||||
}else if(responseCode == 404){
|
}else if(responseCode == 404){
|
||||||
S3FS_PRN_CRIT("bucket not found(host=%s) - result of checking service.", host.c_str());
|
S3FS_PRN_CRIT("bucket not found(host=%s) - result of checking service.", host.c_str());
|
||||||
|
|
||||||
}else if(responseCode == CURLE_OPERATION_TIMEDOUT){
|
|
||||||
// unable to connect
|
|
||||||
S3FS_PRN_CRIT("unable to connect bucket and timeout(host=%s) - result of checking service.", host.c_str());
|
|
||||||
}else{
|
}else{
|
||||||
// another error
|
// another error
|
||||||
S3FS_PRN_CRIT("unable to connect(host=%s) - result of checking service.", host.c_str());
|
S3FS_PRN_CRIT("unable to connect(host=%s) - result of checking service.", host.c_str());
|
||||||
|
Loading…
Reference in New Issue
Block a user