Skip to content

Commit

Permalink
authority instead of host
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Jan 24, 2025
1 parent 2d93aef commit 94fec48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/s3express_credentials_provider.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ static struct aws_http_message *s_create_session_request_new(
struct aws_byte_cursor host = host_value;
/* NOTE: Only for Tests. */
if (endpoint_override != NULL) {
host = *aws_uri_host_name(endpoint_override);
host = *aws_uri_authority(endpoint_override);
}
struct aws_http_header host_header = {
.name = g_host_header_name,
Expand Down

0 comments on commit 94fec48

Please sign in to comment.