From 7aaba59909e8527190694285f56ca68772c97f6a Mon Sep 17 00:00:00 2001
From: Diego Nehab <diego@tecgraf.puc-rio.br>
Date: Thu, 24 Jun 2004 07:36:49 +0000
Subject: More TODO.

---
 TODO              | 18 +++++++++++++-----
 test/mimetest.lua |  1 +
 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 @@
+setup error messages in the default case.
 
 ajeitar o connect com a dica do mike
     if ((err > 1 || !FD_ISSET(sock, &wfds)) &&
     recv(sock, &dummy, 0, 0) < 0 && errno != EWOULDBLOCK) ...
 
 sort out the wrap around of gettime...
+    use doubles all over
+    tm_get e tm_getretry return the timeval structure pointer
+    sock_send, sock_recv & sock_select use p_tm instead of timeout
+    make select interrupt safe (will be with tm stuff)
+    use GetSystemTimeAsFileTime in windows (WinCE will suffer document)
+
 optmize aux_getgroupudata
+    make aux_newclass receive upvalues
+    use one upvalue per string name of class/group
+    make aux_checkgroup by upvalue (faster)
+
+fix local domain socket kludge of name size
+
 make sure all modules that can use it actually use socket.newtry
-make select interrupt safe
 adicionar exemplos de expans�o: pipe, local, named pipe
 Add service name translation.
 testar os options!
@@ -16,7 +28,3 @@ testar os options!
   - proteger ou atomizar o conjunto (timedout, receive), (timedout, send)
   - inet_ntoa tamb�m � uma merda.
 - SSL
-
-these are done
-* unix 92 bytes maximo no endere�o, incluindo o zero
-*  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()
     local sp2 = mime.wrap("base64", 30)
     local sp1 = mime.wrap(27)
     local chain = ltn12.filter.chain(e1, sp1, e2, sp2, e3, sp3, e4, sp4)
+    chain = socket.protect(chain)
     transform(b64test, eb64test, chain)
 end
 
-- 
cgit v1.2.3-55-g6feb