Skip to content

Commit

Permalink
Fix HTTP CONNECT proxy options not passing to core (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
adeal authored Aug 26, 2024
1 parent 973257a commit aa3edef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Temporalio/Bridge/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,8 @@ impl TryFrom<&ClientOptions> for CoreClientOptions {
} else {
Some(opts.metadata.to_string_map_on_newlines())
})
.api_key(opts.api_key.to_option_string());
.api_key(opts.api_key.to_option_string())
.http_connect_proxy(unsafe { opts.http_connect_proxy_options.as_ref() }.map(Into::into));
if let Some(tls_config) = unsafe { opts.tls_options.as_ref() } {
opts_builder.tls_cfg(tls_config.try_into()?);
}
Expand Down

0 comments on commit aa3edef

Please sign in to comment.