cosmopolitan/tool/net
Paul Kulchenko 660ff56d40
Redbean fix lua panic (#300)
* Fix Lua panic in redbean when calling request/connection functions from .init.lua

The error calls were triggered appropriately, but used the global Lua
state instead of the current Lua state (within protected call), which
triggered Lua panic. This executes the error in the proper context.

* Rename global Lua state object to make its (mis-)usage easier to detect
2021-10-25 14:54:56 -07:00
..
demo Add state assertions to redbean Lua APIs 2021-08-09 15:35:38 -07:00
.init.lua Add SSL to redbean 2021-06-24 13:20:50 -07:00
counters.inc Make improvements to redbean 2021-07-08 15:56:23 -07:00
dig.c Make minor revisions to previous change 2021-06-30 10:45:27 -07:00
echoserver.c Make numerous improvements 2021-09-28 01:52:34 -07:00
favicon.ico Make major improvements to redbean and libraries 2021-04-18 12:34:15 -07:00
help.txt Add GetCookie to redbean Lua (#269) 2021-09-11 16:46:21 -07:00
largon2.c Updated lua-Argon2 to use Argon2_id variant 2021-09-27 21:42:40 -07:00
lsqlite3.c Tune SQLite build for redbean (#97) 2021-06-10 08:00:08 -07:00
net.mk Make numerous improvements 2021-09-28 01:52:34 -07:00
redbean.c Redbean fix lua panic (#300) 2021-10-25 14:54:56 -07:00
redbean.png Make improvements 2020-09-14 00:02:34 -07:00
wb.c Make numerous improvements 2021-09-28 01:52:34 -07:00