-
Notifications
You must be signed in to change notification settings - Fork 57
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
Serve same app on http and https #108
Comments
I just measured the RAM usage again and found that my previous results were not accurate. The clone does not cost measurable more memory. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
thanks for developing this very useful crate!
I want to run a server that serves the same app with http and https on different ports.
I've seen there's an example for running different apps on http and https.
I could achieve this by running
app.clone()
:However, this increased the memory usage of the server significantly. So I'm wondering if there is a better way to achieve this? Can someone maybe give me a hint?
The text was updated successfully, but these errors were encountered: