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 0500734 commit 1d1a2beCopy full SHA for 1d1a2be
source/auth/Sigv4Signing.cpp
@@ -146,8 +146,12 @@ namespace Aws
146
static void s_http_signing_complete_fn(struct aws_signing_result *result, int errorCode, void *userdata)
147
{
148
auto cbData = reinterpret_cast<HttpSignerCallbackData *>(userdata);
149
- aws_apply_signing_result_to_http_request(
150
- cbData->Request->GetUnderlyingMessage(), cbData->Alloc, result);
+
+ if (errorCode == AWS_OP_SUCCESS)
151
+ {
152
+ aws_apply_signing_result_to_http_request(
153
+ cbData->Request->GetUnderlyingMessage(), cbData->Alloc, result);
154
+ }
155
156
cbData->OnRequestSigningComplete(cbData->Request, errorCode);
157
Crt::Delete(cbData, cbData->Alloc);
0 commit comments