lit icon indicating copy to clipboard operation
lit copied to clipboard

HTTPS support

Open Lort533 opened this issue 2 years ago • 1 comments

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 avatar Jul 25 '22 20:07 Lort533

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

Lort533 avatar Sep 17 '22 10:09 Lort533