-
-
Notifications
You must be signed in to change notification settings - Fork 662
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
lua: Minimal implementation of ssl #10593
Conversation
I have added the installation of luasec in the test environment, but it doesn't compile in Mac OS because it can't find |
Depends on luasec. The initial implementation is enough to access a webpage over https.
Required by luasec
brew doesn't allow it. Instead we pass the OPENSSL_DIR option to luarocks.
I have managed to install luasec by installing openssl with brew and passing the OPENSSL_DIR option to luarocks. |
Hmm, it's funny that we depend on OpenSSL here because all other targets (I think) depend on Mbed TLS. But if that's how things are done in Lualand, we'll have to make due. Can we still use non-SSL sockets without installing luasec? |
I have tried with |
I have added a commit to not pull in luasec when using the |
Thank you for the contribution! |
* Update bit dependency docs for lua Lua 5.1 requires installing bit32 manually. [0] Lua 5.2 provides bit32 natively. [1] Lua 5.3 still has it natively, though it is deprecated in favour of native operators. [2] Lua 5.4 removes this library from the standard installation, so it must be installed again. [3] [0] HaxeFoundation/haxe#10923 [1] https://www.lua.org/manual/5.2/manual.html#6.7 [2] http://www.lua.org/manual/5.3/manual.html#8.2 [3] http://www.lua.org/manual/5.4/manual.html#3.4.2 * Add luasec dependency HaxeFoundation/haxe#10593 * Remove environ dependency HaxeFoundation/haxe@9d75bec * Add hx-lua-simdjson dependency HaxeFoundation/haxe#9885
Depends on luasec.
The initial implementation is enough to access a webpage over https.