Skip to content

Comments

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

Merged
bassosimone merged 1 commit intomainfrom
utls-factory
Jan 4, 2022
Merged

feat: add factory for TLS proxying with uTLS (v2)#19
bassosimone merged 1 commit intomainfrom
utls-factory

Conversation

@bassosimone
Copy link
Contributor

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

Development

Successfully merging this pull request may close these issues.

1 participant