Skip to content
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

feat: add factory for TLS proxying with uTLS (v2) #19

Merged
merged 1 commit into from Jan 4, 2022
Merged

Conversation

bassosimone
Copy link
Member

This commit adds an experimental factory for create proxying
TLS connections using uTLS rather than crypto/tls.

A user has requested this functionality.

For now, I'd like to avoid advertising it until I get confirmation
that this interface is okay for the user who requested it.

When it's confirmed it's okay, I'll change the README.

The v1 implementation of this functionality was in commit
d6f7e24. Yet, it turns out the
TLSClientFactory ended up having the wrong return type
(*tls.Conn). This return type is incorrect; the factory needs
to return oohttp.TLSConn instead.

This commit adds an experimental factory for create proxying
TLS connections using uTLS rather than crypto/tls.

A user has requested this functionality.

For now, I'd like to avoid advertising it until I get confirmation
that this interface is okay for the user who requested it.

When it's confirmed it's okay, I'll change the README.

The v1 implementation of this functionality was in commit
d6f7e24. Yet, it turns out the
TLSClientFactory ended up having the wrong return type
(`*tls.Conn`). This return type is incorrect; the factory needs
to return `oohttp.TLSConn` instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant