luasocket/TODO
Diego Nehab 9bc4e0648a First version of generic SMTP code and of the base64 encoding.
Gonna rewrite the base64 stuff (found a better way).
2003-10-21 01:12:23 +00:00

74 lines
1.8 KiB
Plaintext

Read about
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI
250-DELIVERBY
250 HELP
Change return of send and receive callbacks to allow for
new functions. "" signals end of transmission. Pass total
number of bytes in request table for HTTP. Callback has nothing
to do with it.
Make sure nobody can fuck up with the metatables...
Create a passive mode option for the FTP (good for firewall).
Use environments in module definitions or declare all local and create the
function with exported symbols later?
local P = {}
complex = P
setfenv(1, P)
Modules should return their namespace table in the end of the chunk.
Adjust dates in all files
Test the library on every system possible
Document socket.time and socket.sleep
Implement time critical stuff from code module in C.
Add service name translation.
Ajeitar o protocolo da luaopen_socket()... sei lá qual é.
- testar os options!
- adicionar exemplos de expansão: pipe, local, named pipe
* O location do "redirect" pode ser relativo ao servidor atual (não pode,
mas os servidores fazem merda...)
* Ajeitar para Lua 5.0
* Padronizar os retornos de funccao
* Separar as classes em arquivos
* Retorno de sendto em datagram sockets pode ser refused
* Fazer compilar com g++
- Thread-safe
- proteger gethostby*.* com um mutex GLOBAL!
- proteger ou atomizar o conjunto (timedout, receive), (timedout, send)
- inet_ntoa também é uma merda.
- SSL
- Proxy support pro http
- checar operações em closed sockets
- checar teste de writable socket com select
- checar todos os metodos
- checar options em UDP
- checar todas as globais
- checar os metodos virtuais
- checar garbage collection
- unix 92 bytes maximo no endereço, incluindo o zero
- unix 9216 maximo de datagram size