mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-23 09:18:55 +00:00
Merge pull request #1135 from gaul/curl-timeout
Remove useless CURLE_OPERATION_TIMEDOUT check
This commit is contained in:
commit
1c3507ede1
@ -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