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

TLS Support #39

Merged
merged 1 commit into from
Mar 26, 2022
Merged

TLS Support #39

merged 1 commit into from
Mar 26, 2022

Conversation

yas-nyan
Copy link
Contributor

sumally

This changes allow TLS to be enabled.

In net/http package, HTTP/2 is automatically enabled when TLS is enabled. But this may cause performance problems, we have also added the ability for users to selectively disable HTTP/2.

sample settings

settings.toml

# TLS and HTTP2 settings. TLS is required for HTTP2
enable_tls=true
enable_http2=true

# if you use HTTP2 or TLS, you need to prepare certificates and private keys
tls_cert_file="cert.pem"
tls_key_file="privkey.pem"

reference information

@maddie maddie merged commit 86763bd into librespeed:master Mar 26, 2022
@maddie
Copy link
Collaborator

maddie commented Mar 26, 2022

Thanks!

@yas-nyan yas-nyan mentioned this pull request Jun 21, 2022
@yas-nyan yas-nyan deleted the Feature_TLSandHTTP2 branch January 6, 2024 10:16
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