Commit Graph

44 Commits

Author SHA1 Message Date
Paul Aurich
908ee2cce1 Fix two crashes and add -Wshadow so that this can't happen again.
The two crashes are the s/const char *// changes in tcp.c.  The rest
is cleanup so it will build.
2012-04-11 13:33:34 -07:00
Diego Nehab
2778766d67 Preliminary IPv6 support for v2.1 2012-04-11 13:25:11 -07:00
Diego Nehab
bce60be30f Decent makefiles! 2009-05-27 09:31:38 +00:00
Diego Nehab
f4dadea763 Before compiling on Windows. 2005-10-07 04:40:59 +00:00
Diego Nehab
a32c6d9140 Almost ready to release. 2005-09-29 06:11:42 +00:00
Diego Nehab
9596c7f95d Bug in forward.lua. Wasn't breaking from the loop. 2005-04-21 05:38:07 +00:00
Diego Nehab
434e8e014c Better connection handling. 2005-04-21 03:15:34 +00:00
Diego Nehab
2a00a5ad50 Trying to get non-blocking connect to work. 2005-04-20 18:57:47 +00:00
Diego Nehab
6dc9c1096a Seems to be working on windows. 2005-03-11 02:21:27 +00:00
Diego Nehab
e57f9e9964 Apparently, non-blocking connect doesn't work on windows if you use 0
timeout in the select call...
2005-03-11 00:20:21 +00:00
Diego Nehab
7350bad6f4 Just to check out in the office. 2005-02-27 18:30:32 +00:00
Diego Nehab
8d4e240f6a Forward server working on Mac OS X... 2005-02-08 10:01:01 +00:00
Diego Nehab
2cd2a5d4a4 Stupid bug. 2005-01-22 22:38:43 +00:00
Diego Nehab
7c97e8e40a Almost ready for beta3 2004-11-27 07:58:04 +00:00
Diego Nehab
cd994f306a Gonna try my luck on windows... 2004-07-26 04:03:55 +00:00
Diego Nehab
9a79d500eb Still need to fix windows. :o/ 2004-07-15 06:11:53 +00:00
Diego Nehab
63807d6476 Added getstats. 2004-07-01 06:09:29 +00:00
Diego Nehab
197aef23ce Compiles with g++. 2004-07-01 05:35:35 +00:00
Diego Nehab
7115c12fbc Moving on to beta2. 2004-07-01 03:32:09 +00:00
Diego Nehab
1ce47ebe39 Added support for unix stream sockets. 2004-06-22 16:12:53 +00:00
Diego Nehab
7195ab620b Few extra changes. 2004-06-22 04:49:57 +00:00
Diego Nehab
bce1cb30d8 More adjustments/bugfixes. 2004-06-21 06:07:58 +00:00
Diego Nehab
f7579db9e8 Fixing bugs... 2004-06-20 22:19:54 +00:00
Diego Nehab
58096449c6 Manual is almost done. HTTP is missing.
Implemented new distribution scheme.
Select is now purely C.
HTTP reimplemented seems faster dunno why.
LTN12 functions that coroutines fail gracefully.
2004-06-15 06:24:00 +00:00
Diego Nehab
9ed7f955e5 Só pra não perder se der merda. 2004-06-04 15:15:45 +00:00
Diego Nehab
888496aa82 FTP low-level working.
SMTP connection oriented working.
ltn12 improved.
2004-05-25 05:27:44 +00:00
Diego Nehab
0b2542d1a6 Worked on the manual.
Implemented stuffing (needs test)
Added cddb and qp examples.
2004-02-04 14:29:11 +00:00
Diego Nehab
0c9f420a35 New accept/connect code.
Better error checking.
Better tests.
__tostring implemented.
2004-01-24 00:18:19 +00:00
Diego Nehab
195069cf5f Fixed functions that return messages in ?socket.c.
Moved complexity of connect and accept there.
Created a new options.c module to take care of options.
Auxiliar.c is now cleaner.
2004-01-21 18:40:52 +00:00
Diego Nehab
3f1712ed48 Added gethostname.
Cleaned up TODO.
Moved luasocket specific stuff from auxiliar.c to luasocket.c
2004-01-19 18:22:51 +00:00
Diego Nehab
32a3b93512 Added -ansi -pedantic and faced the consequences... 2004-01-19 06:07:17 +00:00
Diego Nehab
5b8d7dec54 Updated some of the callbacks in callback.lua.
Update get.lua to use the new callbacks.
The old "code" module is now the "mime" module.
Updated all modules that depended on it.
Updated url.lua to use the new namespace scheme, and moved the
    escape and unescape functions that used to be in the code.lua module
    to it, since these are specific to urls.
Updated the callback entries in the manual.
2004-01-19 05:41:30 +00:00
Diego Nehab
6ac82d50ee Added proxy support to http.lua
Changed callback.lua module, but need more work.
Added local connect support.
2004-01-19 00:24:41 +00:00
Diego Nehab
50ce143725 Have to figure out how to test timeout on connect... kind of hard. 2004-01-18 06:41:43 +00:00
Diego Nehab
c8d58798f0 Trying to get connect-with-timeout to work. Darwin works... 2004-01-18 00:04:20 +00:00
Diego Nehab
02ef4e7daa Trying to get rid of EINTR problems... 2004-01-17 08:02:04 +00:00
Diego Nehab
076451c753 Tested in windows. Still needs more testing, but progress has been made. 2004-01-17 00:17:46 +00:00
Diego Nehab
89f3ecf782 http.lua updated. still needs proxy support.
code.lua updated. looks neat.
2004-01-16 07:06:31 +00:00
Diego Nehab
3febb302ad Killed a few bugs found by Tomas. 2003-11-27 00:30:54 +00:00
Diego Nehab
c51d4acf1c Adjusted a few inconsistencies with the manual. 2003-08-16 00:06:04 +00:00
Diego Nehab
71f6bb60bf Finished implementation of LuaSocket 2.0 alpha on Linux.
Some testing still needed.
2003-06-26 18:47:49 +00:00
Diego Nehab
f330540576 Compiles and runs on linux and windows, using DLLs! 2003-06-11 01:42:18 +00:00
Diego Nehab
58bdb658aa Select re-implemented in a nicer way.
Few changes in internal class and group registration.
Lua modules are compiled and built into library.
Dynamic library tested in Linux and Mac OS X.
2003-06-09 18:23:40 +00:00
Diego Nehab
0f6c8d50a9 Porting to LUA 5.0 final 2003-05-25 01:54:13 +00:00