2004-02-04 15:29:11 +01:00
|
|
|
|
* should be interrupt-safe
|
|
|
|
|
* notice the change in callback conventions
|
|
|
|
|
* new mime module replacing old code module (faster, more functionality)
|
|
|
|
|
* new socket options (many)
|
|
|
|
|
* only allocate in case of success
|
|
|
|
|
* optimize for success (only call select if fails)
|
|
|
|
|
* add proxy support to http
|
|
|
|
|
* add gethostname
|
|
|
|
|
* local connect
|
|
|
|
|
* connect with timeout
|
|
|
|
|
* change code to mime
|
|
|
|
|
* change stay to redirect
|
|
|
|
|
* add shutdown
|
|
|
|
|
* change send/recv to avoid using select
|
|
|
|
|
* 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
|
|
|
|
|
|
2004-03-16 07:42:53 +01:00
|
|
|
|
colocar um userdata com gc metamethod pra chamar sock_close (WSAClose);
|
|
|
|
|
sources ans sinks are always simple in http and ftp and smtp
|
|
|
|
|
unify backbone of smtp and ftp
|
|
|
|
|
expose encode/decode tables to provide extensibility for mime module
|
|
|
|
|
use coroutines instead of fancy filters
|
2004-02-11 04:31:53 +01:00
|
|
|
|
unify filter and send/receive callback. new sink/source/pump idea.
|
|
|
|
|
get rid of aux_optlstring
|
|
|
|
|
wrap sink and sources with a function that performs the replacement
|
|
|
|
|
get rid of unpack in mime.lua
|
2004-02-04 15:29:11 +01:00
|
|
|
|
|
|
|
|
|
check garbage collection in test*.lua
|
|
|
|
|
pop3???
|
|
|
|
|
|
2004-02-11 04:31:53 +01:00
|
|
|
|
break chain into a simpler binary chain and a complex (recursive) one.
|
|
|
|
|
|
2004-02-04 15:29:11 +01:00
|
|
|
|
add socket.TIMEOUT to be default timeout?
|
|
|
|
|
|
2004-01-19 19:22:51 +01:00
|
|
|
|
manual
|
2004-02-04 15:29:11 +01:00
|
|
|
|
add socket.connect and socket.bind to the manual
|
|
|
|
|
say what a nil callback does for http
|
2004-01-24 03:47:24 +01:00
|
|
|
|
check all occurences of it's
|
2004-02-04 15:29:11 +01:00
|
|
|
|
- add shutdown
|
|
|
|
|
- add gethostname
|
2004-01-19 19:22:51 +01:00
|
|
|
|
the need of a content-length header in the post method...
|
|
|
|
|
notice the change in callback conventions
|
|
|
|
|
the callback.lua module and the new mime module.
|
|
|
|
|
escape and unescape in url, not in code!
|
|
|
|
|
add timeout and proxy to request table
|
|
|
|
|
change stay to redirect
|
|
|
|
|
socket.time and socket.sleep
|
2004-02-04 15:29:11 +01:00
|
|
|
|
- connect with timeout
|
2004-01-19 19:22:51 +01:00
|
|
|
|
local connect
|
|
|
|
|
add thanks to 'carlos cassino' and 'david burgess'
|
|
|
|
|
add new ip- options and reuseaddr option
|
2004-02-04 15:29:11 +01:00
|
|
|
|
- add listen to manual
|
2004-01-24 01:18:19 +01:00
|
|
|
|
bind method doesn't do listen anymore
|
|
|
|
|
bind doesn't turn an object into a server object: listen does.
|
2004-01-19 19:22:51 +01:00
|
|
|
|
|
|
|
|
|
tests
|
|
|
|
|
checar todos os metodos
|
|
|
|
|
checar todas as globais
|
|
|
|
|
checar garbage collection
|
|
|
|
|
check for interrupts
|
|
|
|
|
|
2004-02-04 15:29:11 +01:00
|
|
|
|
wrp can't break lines in the middle of a line break.
|
|
|
|
|
call select before accept, not after, dumbass!
|
|
|
|
|
get rid of setnonblocking/setblocking in the bind function
|
2004-01-24 03:47:24 +01:00
|
|
|
|
close has to block...
|
|
|
|
|
fmt is not a good name
|
|
|
|
|
change wrap() to accept a number and default to "character"
|
|
|
|
|
move gethostname to dns table
|
|
|
|
|
get rid of _cb in name of functions?
|
2004-01-21 02:09:50 +01:00
|
|
|
|
trust character constants in mime.c? noooooo.
|
|
|
|
|
smtp.lua needs stuff filter
|
|
|
|
|
|
2004-01-21 19:40:52 +01:00
|
|
|
|
add comments into each C module.
|
2004-01-19 19:22:51 +01:00
|
|
|
|
new option.c module to put all options (TCP and UDP share...)?
|
|
|
|
|
testar os options!
|
2004-01-19 06:41:30 +01:00
|
|
|
|
add _tostring methods!
|
2004-01-19 19:22:51 +01:00
|
|
|
|
change all modules to use the new namespace scheme
|
2004-01-19 01:24:41 +01:00
|
|
|
|
|
2004-01-18 09:59:21 +01:00
|
|
|
|
write some utilities that use the code.lua module and put them
|
|
|
|
|
in etc, modify the README.etc file and makefile.dist (eol.lua is done)
|
2004-01-17 01:17:46 +01:00
|
|
|
|
|
2004-01-19 19:22:51 +01:00
|
|
|
|
use gethostname it in SMTP
|
2004-01-16 08:06:31 +01:00
|
|
|
|
|
|
|
|
|
make sure modules know if their dependencies are there.
|
2003-10-21 03:12:23 +02:00
|
|
|
|
|
|
|
|
|
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).
|
|
|
|
|
|
|
|
|
|
Modules should return their namespace table in the end of the chunk.
|
|
|
|
|
|
2003-08-16 02:06:04 +02:00
|
|
|
|
Adjust dates in all files
|
2003-08-31 02:58:07 +02:00
|
|
|
|
|
2003-08-16 02:06:04 +02:00
|
|
|
|
Test the library on every system possible
|
2003-08-31 02:58:07 +02:00
|
|
|
|
|
2003-08-16 02:06:04 +02:00
|
|
|
|
Add service name translation.
|
2003-10-21 03:12:23 +02:00
|
|
|
|
Ajeitar o protocolo da luaopen_socket()... sei l<> qual <20>.
|
2003-08-16 02:06:04 +02:00
|
|
|
|
|
2004-01-19 19:22:51 +01:00
|
|
|
|
|
2003-06-26 20:47:49 +02:00
|
|
|
|
- adicionar exemplos de expans<6E>o: pipe, local, named pipe
|
2003-03-21 02:07:23 +01:00
|
|
|
|
|
|
|
|
|
|
2004-01-19 19:22:51 +01:00
|
|
|
|
- Fazer compilar com g++
|
2003-03-21 02:07:23 +01:00
|
|
|
|
- Thread-safe
|
2004-02-04 15:29:11 +01:00
|
|
|
|
- proteger get*by*.* com um mutex GLOBAL!
|
2003-06-26 20:47:49 +02:00
|
|
|
|
- proteger ou atomizar o conjunto (timedout, receive), (timedout, send)
|
|
|
|
|
- inet_ntoa tamb<6D>m <20> uma merda.
|
2003-03-21 02:07:23 +01:00
|
|
|
|
- SSL
|
|
|
|
|
|
|
|
|
|
- unix 92 bytes maximo no endere<72>o, incluindo o zero
|
|
|
|
|
- unix 9216 maximo de datagram size
|