-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP CONNECT proxy support #318
HTTP CONNECT proxy support #318
Conversation
9a12e56
to
536f2ea
Compare
@@ -106,6 +106,7 @@ typedef struct ClientOptions { | |||
const struct ClientTlsOptions *tls_options; | |||
const struct ClientRetryOptions *retry_options; | |||
const struct ClientKeepAliveOptions *keep_alive_options; | |||
const HttpConnectProxyOptions *http_connect_proxy_options; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is auto-generated as part of the Rust build and therefore should match the Rust constructs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm getting an inconsistent experience, but this is ultimately what is gen'd locally for me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No prob, I may have just assumed it was going to generate const struct
. If CI passes w/ what is generated here we're all good. Can ignore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good. I think CI is failing because of the line endings of the Interop.cs
file maybe? Unsure, I will try to look shortly (and may try out via merge to your fork branch if that's ok), but everything in this PR in general LGTM.
There was an issue where the FFI struct referenced |
AH, obvious in hindsight. Thanks for tracking it down and making the fix. |
What was changed
This change adds HTTP CONNECT proxy support.
Temporalio.Client.HttpConnectProxyConfig
Why?
Checklist
Closes [Feature Request] HTTP CONNECT proxy support #215
How was this tested:
This is challenging to test w/o a local proxy setup, but I'm open to recommendations. If I'm able, I'll publish a local release and see if I can test this against an environment where proxy resources exist.
Any docs updates needed?