Skip to content

Commit 94fec48

Browse files
committed
authority instead of host
1 parent 2d93aef commit 94fec48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: source/s3express_credentials_provider.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ static struct aws_http_message *s_create_session_request_new(
404404
struct aws_byte_cursor host = host_value;
405405
/* NOTE: Only for Tests. */
406406
if (endpoint_override != NULL) {
407-
host = *aws_uri_host_name(endpoint_override);
407+
host = *aws_uri_authority(endpoint_override);
408408
}
409409
struct aws_http_header host_header = {
410410
.name = g_host_header_name,

0 commit comments

Comments
 (0)