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 06ba8f1 commit e538612Copy full SHA for e538612
source/connection_manager.c
@@ -686,7 +686,10 @@ static int s_aws_http_connection_manager_new_connection(struct aws_http_connecti
686
options.socket_options = &manager->socket_options;
687
options.on_setup = s_aws_http_connection_manager_on_connection_setup;
688
options.on_shutdown = s_aws_http_connection_manager_on_connection_shutdown;
689
- options.monitoring_options = &manager->monitoring_options;
+
690
+ if (aws_http_connection_monitoring_options_is_valid(&manager->monitoring_options)) {
691
+ options.monitoring_options = &manager->monitoring_options;
692
+ }
693
694
struct aws_http_proxy_options proxy_options;
695
AWS_ZERO_STRUCT(proxy_options);
0 commit comments