diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-24 07:36:49 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-24 07:36:49 +0000 |
| commit | 7aaba59909e8527190694285f56ca68772c97f6a (patch) | |
| tree | 60eb46d9ad4333cc95abdd9b16a77e23830c0a10 | |
| parent | 2fbd3a1100580133075e225daae8fa12a463277a (diff) | |
| download | luasocket-7aaba59909e8527190694285f56ca68772c97f6a.tar.gz luasocket-7aaba59909e8527190694285f56ca68772c97f6a.tar.bz2 luasocket-7aaba59909e8527190694285f56ca68772c97f6a.zip | |
More TODO.
| -rw-r--r-- | TODO | 18 | ||||
| -rw-r--r-- | test/mimetest.lua | 1 |
2 files changed, 14 insertions, 5 deletions
| @@ -1,12 +1,24 @@ | |||
| 1 | setup error messages in the default case. | ||
| 1 | 2 | ||
| 2 | ajeitar o connect com a dica do mike | 3 | ajeitar 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 | ||
| 6 | sort out the wrap around of gettime... | 7 | sort 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 | |||
| 7 | optmize aux_getgroupudata | 14 | optmize 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 | |||
| 19 | fix local domain socket kludge of name size | ||
| 20 | |||
| 8 | make sure all modules that can use it actually use socket.newtry | 21 | make sure all modules that can use it actually use socket.newtry |
| 9 | make select interrupt safe | ||
| 10 | adicionar exemplos de expansão: pipe, local, named pipe | 22 | adicionar exemplos de expansão: pipe, local, named pipe |
| 11 | Add service name translation. | 23 | Add service name translation. |
| 12 | testar os options! | 24 | testar 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 | |||
| 20 | these 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) |
| 202 | end | 203 | end |
| 203 | 204 | ||
