2005-01-27 22:30:01 +01:00
|
|
|
|
|
|
|
|
|
think about a dispatcher.
|
|
|
|
|
- it creates a server and receives a function that will do the work on
|
|
|
|
|
received connections
|
|
|
|
|
- this function is invoked with the client socket
|
|
|
|
|
- it calls special send and receive functions that yield on timeout
|
|
|
|
|
|
|
|
|
|
think about how to extend http, ftp, smtp to use special send and receive
|
|
|
|
|
functions for non-blocking so they can be used in the context of the
|
|
|
|
|
dispatcher!
|
|
|
|
|
|
|
|
|
|
adjust manual for new sock:send returns.
|
2005-01-20 18:31:01 +01:00
|
|
|
|
check all "require("http")" etc in the manual.
|
2005-01-19 09:33:35 +01:00
|
|
|
|
_VERSION, _DEBUG, etc.
|
2005-01-15 23:33:45 +01:00
|
|
|
|
get rid of "base." kludge
|
2005-01-14 06:00:55 +01:00
|
|
|
|
make sure sock_gethostname.* only return success if the hp is not
|
|
|
|
|
null!
|
2005-01-05 07:06:59 +01:00
|
|
|
|
change 'l' prefix in C libraries to 'l-something'...
|
2005-01-21 08:54:09 +01:00
|
|
|
|
don't forget the declarations in luasocket.h and mime.h!!!
|
2005-01-19 09:33:35 +01:00
|
|
|
|
leave code for losers that don't have nanosleep
|
2005-01-05 07:06:59 +01:00
|
|
|
|
|
2004-12-07 21:39:02 +01:00
|
|
|
|
"foo.bar.baz" previously had to provide luaopen_foobarbaz() and now
|
|
|
|
|
should use luaopen_foo_bar_baz(). Change compat-5.1 and LuaSocket?
|
|
|
|
|
|
2004-10-11 08:18:57 +02:00
|
|
|
|
ftp.send/recv return bytes transfered?
|
2004-09-21 20:58:47 +02:00
|
|
|
|
new scheme to choose family/protocol of object to create
|
|
|
|
|
change ltn13 to make sure drawbacks are obvious
|
|
|
|
|
- check discussion
|
2004-07-16 08:48:48 +02:00
|
|
|
|
use mike's "don't set to blocking before closing unless needed" patch?
|
2004-07-29 07:55:51 +02:00
|
|
|
|
take a look at DB's smtp patch (add "extra argument" table)
|
2004-06-23 03:08:54 +02:00
|
|
|
|
|
2004-07-03 01:31:32 +02:00
|
|
|
|
optmize aux_getgroupudata (Mike idea)
|
2004-06-24 09:36:49 +02:00
|
|
|
|
make aux_newclass receive upvalues
|
|
|
|
|
use one upvalue per string name of class/group
|
|
|
|
|
make aux_checkgroup by upvalue (faster)
|
|
|
|
|
|
2004-07-03 00:25:58 +02:00
|
|
|
|
add error message stuff to the manual
|
2004-06-24 09:36:49 +02:00
|
|
|
|
|
2004-06-23 03:08:54 +02:00
|
|
|
|
make sure all modules that can use it actually use socket.newtry
|
2004-06-18 23:41:44 +02:00
|
|
|
|
adicionar exemplos de expans<6E>o: pipe, local, named pipe
|
|
|
|
|
testar os options!
|
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.
|
2004-07-01 07:35:35 +02:00
|
|
|
|
|
2004-11-28 09:17:16 +01:00
|
|
|
|
*eliminate globals from namespaces created by module().
|
|
|
|
|
*make sure standard libraries are "required" by modules before use.
|
|
|
|
|
*use wim's filter.chain or something better
|
2004-11-27 08:58:04 +01:00
|
|
|
|
*close wasn't returning 1
|
|
|
|
|
*make sure errors not thrown by try() are not caught by protect()
|
|
|
|
|
*move wsocket.c:sock_send kludge to buffer.c:sendraw?
|
|
|
|
|
*bug on UDP sendto.
|
2004-10-11 08:18:57 +02:00
|
|
|
|
*fix PROXY in http.lua
|
|
|
|
|
*use new distribution scheme
|
2004-07-03 00:25:58 +02:00
|
|
|
|
*create the getstats method.
|
2004-07-01 07:35:35 +02:00
|
|
|
|
*fix local domain socket kludge of name size
|
|
|
|
|
*use TLS
|
2004-07-03 00:25:58 +02:00
|
|
|
|
*sort out the wrap around of gettime...
|
|
|
|
|
*use doubles all over
|
|
|
|
|
*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)
|
|
|
|
|
*add getstats to the manual
|
|
|
|
|
*Fazer compilar com g++
|
2004-07-16 08:48:48 +02:00
|
|
|
|
*test associativity of socket.select
|
2004-07-26 07:17:37 +02:00
|
|
|
|
* fix manual for send and receive
|
|
|
|
|
* add thanks to mike
|
|
|
|
|
* change sock:send to use indices just like string.sub?
|
2004-07-29 07:55:51 +02:00
|
|
|
|
* change sendraw to send by chunks
|