finished http implementation working on spm and liveboot env

This commit is contained in:
2026-07-23 14:33:16 -04:00
parent f7b64c11b7
commit 49c9e5e37c
130 changed files with 1128 additions and 635 deletions
@@ -22,7 +22,7 @@ local function getHandler(address)
end
end
function socket.socket(domain, socktype)
function socket.socket()
local fd = kernel.vfs.newfd({
handle = {},
@@ -54,7 +54,7 @@ function socket.socket(domain, socktype)
local fdo = kernel.currentTask.fd[fd]
fdo.handle.read = function()
return ""
return nil, "ENOTCONN"
end
fdo.handle.write = function()