diff --git a/TODO b/TODO index 817d471..860a676 100644 --- a/TODO +++ b/TODO @@ -2,13 +2,14 @@ ajeitar os README.* ajeitar as referencias a RFCS e LTNS em todos os arquivos. -smtp.o goes to mime.dll make sure sockets are closed when exceptions are raised check garbage collection in test*.lua manual + socket.skip + send return convention changed. * compatibility: select sets are associative * add socket.connect and socket.bind to the manual * add shutdown @@ -157,3 +158,4 @@ these are done * use coroutines instead of fancy filters * add socket.TIMEOUT to be default timeout? no. * use gethostname it in SMTP +* smtp.o goes to mime.dll diff --git a/etc/dict.lua b/etc/dict.lua index b9247dc..dce1658 100644 --- a/etc/dict.lua +++ b/etc/dict.lua @@ -140,7 +140,6 @@ local function sget(u) return tget(gett) end ---function socket.protect(f) return f end get = socket.protect(function(gett) if type(gett) == "string" then return sget(gett) else return tget(gett) end diff --git a/test/httptest.lua b/test/httptest.lua index 45d7e8d..d1f2b88 100644 --- a/test/httptest.lua +++ b/test/httptest.lua @@ -70,6 +70,7 @@ io.write("testing request uri correctness: ") local forth = cgiprefix .. "/request-uri?" .. "this+is+the+query+string" local back, c, h = http.request("http://" .. host .. forth) if not back then fail(c) end +print(back) back = url.parse(back) if similar(back.query, "this+is+the+query+string") then print("ok") else fail(back.query) end