-
Notifications
You must be signed in to change notification settings - Fork 133
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
ssl.https.request dont work #171
Comments
Can you give a small code example of the problem? You can see the documentation of |
Seeing this error at Homebrew CI too. In particular, it's this problem: luarocks/luarocks#1302 Will try to extract an example, but currently my way of reproducing it is to install |
The problem seems to be with luasocket... luasec's @update: |
It seems Lua 5.4.3 broke luasocket... it works fine with Lua 5.4.2. Maybe, it broke luasec too. |
The function However, One solution is always push nothing for 2 and 3 if they are missing. Something ugly like this seems to work: int buffer_meth_receive(lua_State *L, p_buffer buf) { + if (lua_gettop(L) < 3) lua_settop(L, 3); int err = IO_DONE, top = lua_gettop(L); Of course, all the code needs to be reviewed now (and other functions). |
This updates resource `luasec` to include a fix for lunarmodules/luasec#171. Also, update the homepage. The original one no longer works.
This updates resource `luasec` to include a fix for lunarmodules/luasec#171. Also, update the homepage. The original one no longer works. Closes #78231. Signed-off-by: Nanda H Krishna <me@nandahkrishna.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
lua: /usr/share/lua/5.4/ssl/https.lua:66: bad argument #2 to 'method' (string expected, got light userdata) stack traceback: [C]: in function 'socket.http.request' /usr/share/lua/5.4/ssl/https.lua:132: in function 'ssl.https.request'
The text was updated successfully, but these errors were encountered: