mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-26 04:28:20 +01:00
Seems to be working.
This commit is contained in:
parent
07dda08c5d
commit
62799a416d
4
TODO
4
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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user