We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff61797 commit f51df59Copy full SHA for f51df59
src/aws-cpp-sdk-core/source/auth/GeneralHTTPCredentialsProvider.cpp
@@ -120,8 +120,13 @@ bool GeneralHTTPCredentialsProvider::ShouldCreateGeneralHTTPProvider(const Aws::
120
std::unique_lock<std::mutex> lock(hostResolverMutex);
121
shouldAllow = !addresses.empty();
122
hostResolved = true;
123
+ hostResolverCV.notify_one();
124
+ }
125
+ else
126
+ {
127
+ std::unique_lock<std::mutex> lock(hostResolverMutex);
128
129
}
- hostResolverCV.notify_one();
130
};
131
pHostResolver->ResolveHost(authority.c_str(), onHostResolved);
132
0 commit comments