Fix AWS MinIO
This commit is contained in:
@@ -197,7 +197,9 @@ namespace ANSCENTER {
|
||||
SPDLogger& _logger = SPDLogger::GetInstance("ANSAWSS3", false);
|
||||
|
||||
// Pool helpers
|
||||
std::unique_ptr<S3Connection> CreateConnection();
|
||||
// logOnFailure=false suppresses error-level logging on failure (still emits ANS_DBG).
|
||||
// Used by TryConnect's first attempt, which is allowed to fail for path-style/MinIO servers.
|
||||
std::unique_ptr<S3Connection> CreateConnection(bool logOnFailure = true);
|
||||
std::unique_ptr<S3Connection> AcquireConnection();
|
||||
void ReleaseConnection(std::unique_ptr<S3Connection> conn);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user