Skip to content

Commit

Permalink
Missed actually setting the override on mqtt311 (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
bretambrose committed Apr 11, 2023
1 parent 09c06c1 commit 815fc97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -1359,6 +1359,7 @@ static void s_websocket_handshake_transform_complete(
.on_connection_setup = s_on_websocket_setup,
.on_connection_shutdown = s_on_websocket_shutdown,
.requested_event_loop = connection->loop,
.host_resolution_config = &connection->host_resolution_config,
};

struct aws_http_proxy_options proxy_options;
Expand Down Expand Up @@ -1648,6 +1649,7 @@ static int s_mqtt_client_connect(
channel_options.shutdown_callback = &s_mqtt_client_shutdown;
channel_options.user_data = connection;
channel_options.requested_event_loop = connection->loop;
channel_options.host_resolution_override_config = &connection->host_resolution_config;

if (connection->http_proxy_config == NULL) {
result = aws_client_bootstrap_new_socket_channel(&channel_options);
Expand Down

0 comments on commit 815fc97

Please sign in to comment.