Skip to content

Commit aa3edef

Browse files
authored
Fix HTTP CONNECT proxy options not passing to core (#336)
1 parent 973257a commit aa3edef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Temporalio/Bridge/src/client.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,8 @@ impl TryFrom<&ClientOptions> for CoreClientOptions {
525525
} else {
526526
Some(opts.metadata.to_string_map_on_newlines())
527527
})
528-
.api_key(opts.api_key.to_option_string());
528+
.api_key(opts.api_key.to_option_string())
529+
.http_connect_proxy(unsafe { opts.http_connect_proxy_options.as_ref() }.map(Into::into));
529530
if let Some(tls_config) = unsafe { opts.tls_options.as_ref() } {
530531
opts_builder.tls_cfg(tls_config.try_into()?);
531532
}

0 commit comments

Comments
 (0)