Skip to content

Commit

Permalink
add an assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
TingDaoK committed Nov 27, 2024
1 parent 1f1a844 commit dd0f49e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/s3_meta_request.c
Original file line number Diff line number Diff line change
Expand Up @@ -1053,6 +1053,7 @@ static void s_s3_meta_request_request_on_signed(
*/
if (request->send_data.require_streaming_unsigned_payload_header) {
struct aws_http_headers *headers = aws_http_message_get_headers(request->send_data.message);
AWS_ASSERT(headers != NULL);
if (aws_http_headers_set(
headers,
aws_byte_cursor_from_c_str("x-amz-content-sha256"),
Expand Down

0 comments on commit dd0f49e

Please sign in to comment.