aboutsummaryrefslogtreecommitdiff
path: root/src/net/websocket.c
diff options
context:
space:
mode:
authorame <[email protected]>2026-06-12 00:56:21 -0500
committerame <[email protected]>2026-06-12 00:56:21 -0500
commit4ecdd3c18ccc5d3bcaa82ed720bf28443aa0ca9d (patch)
tree0c263f51545c664dd1d818cf63f6912ef0e73837 /src/net/websocket.c
parent66aedfd65cff3494b70e8072646094479e3bfed8 (diff)
http body parsing rewrite
Diffstat (limited to 'src/net/websocket.c')
-rw-r--r--src/net/websocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/websocket.c b/src/net/websocket.c
index 06283f6..0f6081f 100644
--- a/src/net/websocket.c
+++ b/src/net/websocket.c
@@ -212,7 +212,7 @@ int l_websocket_upgrade(lua_State* L){
data->ctx = ctx->ctx;
data->buffer = str_init("");
- luaI_tsetnil(L, req_idx, "roll");
+ luaI_tsetnil(L, req_idx, "load");
luaI_tsetlud(L, res_idx, "_ws", data);
#warning "missing ws commands"
luaI_tsetcf(L, res_idx, "send", l_ws_write);