Merge pull request #1135 from gaul/curl-timeout

Remove useless CURLE_OPERATION_TIMEDOUT check
This commit is contained in:
Takeshi Nakatani 2019-08-25 17:53:02 +09:00 committed by GitHub
commit 1c3507ede1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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());