aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-24 07:36:49 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-24 07:36:49 +0000
commit7aaba59909e8527190694285f56ca68772c97f6a (patch)
tree60eb46d9ad4333cc95abdd9b16a77e23830c0a10
parent2fbd3a1100580133075e225daae8fa12a463277a (diff)
downloadluasocket-7aaba59909e8527190694285f56ca68772c97f6a.tar.gz
luasocket-7aaba59909e8527190694285f56ca68772c97f6a.tar.bz2
luasocket-7aaba59909e8527190694285f56ca68772c97f6a.zip
More TODO.
-rw-r--r--TODO18
-rw-r--r--test/mimetest.lua1
2 files changed, 14 insertions, 5 deletions
diff --git a/TODO b/TODO
index 7cde792..437e1e5 100644
--- a/TODO
+++ b/TODO
@@ -1,12 +1,24 @@
1setup error messages in the default case.
1 2
2ajeitar o connect com a dica do mike 3ajeitar o connect com a dica do mike
3 if ((err > 1 || !FD_ISSET(sock, &wfds)) && 4 if ((err > 1 || !FD_ISSET(sock, &wfds)) &&
4 recv(sock, &dummy, 0, 0) < 0 && errno != EWOULDBLOCK) ... 5 recv(sock, &dummy, 0, 0) < 0 && errno != EWOULDBLOCK) ...
5 6
6sort out the wrap around of gettime... 7sort out the wrap around of gettime...
8 use doubles all over
9 tm_get e tm_getretry return the timeval structure pointer
10 sock_send, sock_recv & sock_select use p_tm instead of timeout
11 make select interrupt safe (will be with tm stuff)
12 use GetSystemTimeAsFileTime in windows (WinCE will suffer document)
13
7optmize aux_getgroupudata 14optmize aux_getgroupudata
15 make aux_newclass receive upvalues
16 use one upvalue per string name of class/group
17 make aux_checkgroup by upvalue (faster)
18
19fix local domain socket kludge of name size
20
8make sure all modules that can use it actually use socket.newtry 21make sure all modules that can use it actually use socket.newtry
9make select interrupt safe
10adicionar exemplos de expansão: pipe, local, named pipe 22adicionar exemplos de expansão: pipe, local, named pipe
11Add service name translation. 23Add service name translation.
12testar os options! 24testar os options!
@@ -16,7 +28,3 @@ testar os options!
16 - proteger ou atomizar o conjunto (timedout, receive), (timedout, send) 28 - proteger ou atomizar o conjunto (timedout, receive), (timedout, send)
17 - inet_ntoa também é uma merda. 29 - inet_ntoa também é uma merda.
18- SSL 30- SSL
19
20these are done
21* unix 92 bytes maximo no endereço, incluindo o zero
22* unix 9216 maximo de datagram size
diff --git a/test/mimetest.lua b/test/mimetest.lua
index 685c610..0b3db33 100644
--- a/test/mimetest.lua
+++ b/test/mimetest.lua
@@ -198,6 +198,7 @@ local function encode_b64test()
198 local sp2 = mime.wrap("base64", 30) 198 local sp2 = mime.wrap("base64", 30)
199 local sp1 = mime.wrap(27) 199 local sp1 = mime.wrap(27)
200 local chain = ltn12.filter.chain(e1, sp1, e2, sp2, e3, sp3, e4, sp4) 200 local chain = ltn12.filter.chain(e1, sp1, e2, sp2, e3, sp3, e4, sp4)
201 chain = socket.protect(chain)
201 transform(b64test, eb64test, chain) 202 transform(b64test, eb64test, chain)
202end 203end
203 204