Skip to content

Conversation

chunnoo
Copy link

@chunnoo chunnoo commented Aug 4, 2025

When the insecure option is set, the proxy uses an insecure rustls or native-tls connector for establishing a websocket connection to the backend.

Copy link
Collaborator

@ctron ctron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. Looks great.

I'd appreciate a bit of comments in the code. But it's not a blocker.

@chunnoo chunnoo force-pushed the insecure-websockets branch from 1dba2cd to 8645d07 Compare August 5, 2025 10:54
@chunnoo
Copy link
Author

chunnoo commented Aug 5, 2025

Thanks!

Added more comments and made a better effort to make sure the CI passes.

If the insecure option is set on a websocket proxy, it will use a
`rustls` or `native-tls` connector, depending on which features are
enabled, that allows insecure TLS connections. If neither of those
features are enabled, it will fail to create an insecure connection.
@chunnoo chunnoo force-pushed the insecure-websockets branch from 8645d07 to 8711938 Compare August 5, 2025 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants