Open Lort533 opened 2 years ago
I've tested with a certificate, it partially works since sometimes it hangs.
The hang outs may have been caused by the issue described in https://github.com/luvit/lit/pull/329, I remember debugging this extensively and not figuring it out. Can you give this another test?
I assume that this should bring HTTPS support into
createServer
. Maybe going one step further with justoptions
?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
tofalse
or_,
will avoid this error, at least it worked for me):/root/Luvit/deps/coro-net.lua:80: TLS servers require a certificate