Commit Graph

29 Commits

Author SHA1 Message Date
Florian Zeitz
cf4d29f86d Select loadstring or load for Lua 5.1/5.2 respectively 2012-04-29 20:46:35 +02:00
Sam Roberts
4b671f4551 Merge branch 'git-sam' into diego-sam-mwild-integration
Conflicts in options.c were just due to independent small functions
being close to each other.

unix.c in mwild was broken, it wasn't using LUASOCKET_API.

serial.c needed luaL_reg renamed, and to use LUASOCKET_API.

makefile didn't respect standard DESTDIR and prefix makefile
variables, and didn't allow LUAV variable to select lua version to build
against.

I've tested the top-level install-both target builds and installs
against both lua5.1 and lua5.2, but not done further testing.

Conflicts:
	README
	config
	gem/ltn012.tex
	makefile
	src/makefile
	src/options.c
	src/options.h
	src/tcp.c
	src/usocket.c
2012-04-11 14:18:20 -07:00
Sam Roberts
3b19f2a7ed testsrvr asserts when test finishes successfully.
When the test client finishes, the test server asserts with a "closed" message.
After looking carefully at this, I think the tests are running
successfully and passing. Since it appears to be a test failure, I
modified the server to allow the client to close the control connection.
2012-04-11 13:45:59 -07:00
Liam Devine
e15ed19db6 Compiles with Lua 5.1.4 and Lua 5.2.0-beta, although the makefile needs sorting out to take maybe a version number and also the local paths need removing. 2012-04-11 13:33:34 -07:00
Diego Nehab
8d4e240f6a Forward server working on Mac OS X... 2005-02-08 10:01:01 +00:00
Diego Nehab
7c97e8e40a Almost ready for beta3 2004-11-27 07:58:04 +00:00
Diego Nehab
c8b402e004 Changed send function. 2004-07-18 22:56:14 +00:00
Diego Nehab
b2b7e9cef1 tiny bug in test. 2004-07-02 18:58:23 +00:00
Diego Nehab
a193c087a4 Fixing send/recv and optimizing. 2004-06-23 01:08:54 +00:00
Diego Nehab
bce1cb30d8 More adjustments/bugfixes. 2004-06-21 06:07:58 +00:00
Diego Nehab
7ed89c97f7 2.0 alpha RELEASED! 2004-06-18 21:41:44 +00:00
Diego Nehab
680473dd32 Runs on Linux. 2004-06-15 20:05:23 +00:00
Diego Nehab
c23240726e Changed require"luasocket" to require"socket". 2004-05-28 20:40:13 +00:00
Diego Nehab
84f03fda7c Previous bug fix caused a new bug. :o/ 2004-05-28 07:38:12 +00:00
Diego Nehab
c98dc99199 Bug feioso no UDP e possivelmente no TCP também. 2004-05-28 07:24:43 +00:00
Diego Nehab
4919a83d22 Changed receive function. Now uniform with all other functions. Returns nil
on error, return partial result in the end.

http.lua rewritten.
2004-03-21 07:50:15 +00:00
Diego Nehab
42e0e74487 Adjusted wsocket to match usocket. Adjusted windows projects. 2004-01-21 20:16:48 +00:00
Diego Nehab
bd54cd42d4 Few adjustments for windows. 2003-06-26 21:14:17 +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
0f6c8d50a9 Porting to LUA 5.0 final 2003-05-25 01:54:13 +00:00
Diego Nehab
f18d1b7cd0 Closer to release... 2003-03-28 21:08:50 +00:00
Diego Nehab
7da19138e3 Faltam testes de ftp e smtp. O resto passa. 2002-12-03 07:20:34 +00:00
Diego Nehab
7b99195649 Testes reformulados. 2002-07-08 21:56:01 +00:00
Diego Nehab
bf4ca59463 sleep became _sleep. 2001-06-08 22:41:15 +00:00
Diego Nehab
33817f147b Set timeout on data socket, to avoid hangs due to no keepalive packets. 2001-03-12 19:38:39 +00:00
Diego Nehab
22396d34f5 Updated for release 1.2.1.
Added '*w' pattern test.
2001-03-07 22:38:54 +00:00
Diego Nehab
bbb4b3e2c1 Updated to remove use of global methods. Conforming to
LuaSocket release 1.2.1
2001-03-06 20:16:17 +00:00
Diego Nehab
f6b9505225 Updated for LuaSocket 1.2. 2001-01-25 22:00:18 +00:00
Diego Nehab
17c4d1c305 Initial revision 2000-12-29 22:15:09 +00:00