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

HTTPS support #310

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

HTTPS support #310

wants to merge 2 commits into from

Conversation

Lort533
Copy link

@Lort533 Lort533 commented Jul 25, 2022

I assume that this should bring HTTPS support into createServer. Maybe going one step further with just options?

After quick testing, coro-net works with this change (I have no certificate yet to test with, but from the error I assume that it will work with the certificate, setting tls to false or _, will avoid this error, at least it worked for me):
/root/Luvit/deps/coro-net.lua:80: TLS servers require a certificate

@Lort533
Copy link
Author

Lort533 commented Sep 17, 2022

I've tested with a certificate, it partially works since sometimes it hangs.

@Bilal2453
Copy link
Contributor

The hang outs may have been caused by the issue described in #329, I remember debugging this extensively and not figuring it out. Can you give this another test?

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