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

Export utlsIdToSpec() #135

Closed
gaukas opened this issue Nov 1, 2022 · 0 comments
Closed

Export utlsIdToSpec() #135

gaukas opened this issue Nov 1, 2022 · 0 comments

Comments

@gaukas
Copy link
Member

gaukas commented Nov 1, 2022

As discussed in XTLS/Xray-core#1256:

Also, utlsIdToSpec is an unexported function so we cannot use it to get the ClientHelloSpec of browsers.

If that's an issue, we will be happy to export the function. uTLS is meant to export unexported types/funcs in crypto/tls so I don't see a reason why we don't want to export our own functions.

I don't think it will hurt to export this function, and the work is considered trivial.

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

No branches or pull requests

1 participant