daff3db32eUsing noglobals.lua Não carrega mais os modulos. Ajeitados alguns nomes.
Diego Nehab
2002-07-08 21:54:28 +00:00
65dd618553Using noglobals.lua Ajeitados alguns paths. Não carrega mais os modulos.
Diego Nehab
2002-07-08 21:53:33 +00:00
5b2a124305Updated for Lua 4.1-w3.
Diego Nehab
2002-07-08 21:01:45 +00:00
60e7bf48b0Updated for Lua 4.1-w3. Dealing with 100 response codes.
Diego Nehab
2002-07-08 21:01:18 +00:00
9d7f43768aDo not load modules anymore.
Diego Nehab
2002-07-08 20:58:36 +00:00
112e51be58Sockets are not tables anymore.
Diego Nehab
2002-07-08 20:56:36 +00:00
c27087ca95LuaSocket 1.5 (4.1w3)
Diego Nehab
2002-07-08 20:44:12 +00:00
cbffc42f29Initial revision
Diego Nehab
2002-07-08 20:14:09 +00:00
46828c1a7dinternet class.
Diego Nehab
2002-07-03 19:06:55 +00:00
88026bef8aInitial revision
Diego Nehab
2002-07-03 19:06:54 +00:00
9b8bce6465select implementation.
Diego Nehab
2002-07-03 19:06:53 +00:00
b04b81ddd9main module. just initializes other modules.
Diego Nehab
2002-07-03 19:06:52 +00:00
5a92c17d85Corrigido bug no select.
Diego Nehab
2002-06-10 18:38:08 +00:00
8f05082f77Initial revision
Diego Nehab
2002-03-27 18:00:00 +00:00
3bd99ec599Initial revision
Diego Nehab
2002-03-22 20:07:43 +00:00
e2d21b237dInitial revision
Diego Nehab
2002-03-21 13:52:38 +00:00
29ce2303c8return gsub... is not a nice ideia, since the thing returns several results.
Diego Nehab
2001-09-27 20:05:30 +00:00
27e6140a90Updated for LuaSocket 1.4
Diego Nehab
2001-09-27 20:04:47 +00:00
480e66d539Indent broken links.
Diego Nehab
2001-09-27 20:04:21 +00:00
ad997de556Initial revision
Diego Nehab
2001-09-27 20:02:58 +00:00
e5e1f3dc7aUpdated for LuaSocket 1.4 Prints a bunch of information during download.
Diego Nehab
2001-09-27 20:02:34 +00:00
2f07549722Binds to all interfaces.
Diego Nehab
2001-09-27 20:02:24 +00:00
74979295a2updated for luasocket 1.4
Diego Nehab
2001-09-26 20:52:23 +00:00
164d33894eRemoved wrong host header in redirect. Passing location header back to callee after redirect. Added correct scheme test.
Diego Nehab
2001-09-26 20:40:13 +00:00
84e503afe3Changed some variable names. Added correct scheme test.
Diego Nehab
2001-09-26 20:39:46 +00:00
ef5322a92aChanged build_url to compose from smaller parts Changed build_path to add an option not to protect path components
Diego Nehab
2001-09-26 20:38:47 +00:00
6f02d1444bAlmost ready for Lua 4.1
Diego Nehab
2001-09-26 20:31:59 +00:00
6eb7f22c4badded unsafe path composition test added new build_url tests
Diego Nehab
2001-09-26 20:29:32 +00:00
4f27c376e9added wrong scheme test
Diego Nehab
2001-09-26 20:29:18 +00:00
36b07d5fd0added wrong scheme test
Diego Nehab
2001-09-26 20:29:01 +00:00
6dd115015cInitial revision
Diego Nehab
2001-09-25 21:35:17 +00:00
d36460a249updated for luasocket 1.4
Diego Nehab
2001-09-25 21:34:43 +00:00
b319e6a1e8updated due to test location changes
Diego Nehab
2001-09-25 21:32:52 +00:00
9f677cdbf4updated rfc reference from 1521 to 2045
Diego Nehab
2001-09-25 18:40:58 +00:00
29ab78a74aHTTP.request was not returning response for body-less requests.
Diego Nehab
2001-09-18 20:22:59 +00:00
b73a66e635Changed HTTP.get and HTTP.post to return status code instead of status line information. Who cares about the rest of the line, anyways...
Diego Nehab
2001-09-18 18:41:01 +00:00
5b7d44e961lua_socketlibopen now returns a result code. Updated for LuaSocket 1.4.
Diego Nehab
2001-09-12 22:08:43 +00:00
d794e581fflua_socketlibopen now returns a result code.
Diego Nehab
2001-09-12 22:07:08 +00:00
b2df4282a3Updated for LuaSocket 1.4
Diego Nehab
2001-09-12 18:34:31 +00:00
9546cd10abUpdated for LuaSocket 1.4. Better tested, some name changes.
Diego Nehab
2001-09-12 18:27:55 +00:00
5c622071f9Initial revision
Diego Nehab
2001-09-12 18:27:40 +00:00
480689a702Updated for LuaSocket 1.4, following LTN7 etc. Module is now automaticaly tested.
Diego Nehab
2001-09-12 18:16:31 +00:00
504ecdc0aaSimple HTTP functions can deal with table arguments also.
Diego Nehab
2001-09-12 18:16:09 +00:00
cb61077f7aMinor documentation changes. Constants were moved to Public table. Updated to use new fast concatenation module (concat.lua).
Diego Nehab
2001-08-07 19:50:04 +00:00
3143c58e0fRewritten to comply to LTN7 (Modules & Packages). As a result, there have been some API changes. Parameter and return values are now passed inside tables. Automatic redirection and automatic authentication are better controlled, with loop detection. Implementation is more RFCish, conforming to RFC2616. URL parsing has been moved to an external library, to be shared with FTP.
Diego Nehab
2001-07-29 03:51:36 +00:00
0cc37c4b41Timeout detection bug when timeout value was 0 in the select function.
Diego Nehab
2001-07-23 20:13:01 +00:00
c16b6d9312LUASOCKET_API now prefixes all exported function declarations.
Diego Nehab
2001-06-19 19:31:22 +00:00
ce0ad4c6b6debug code removed.
Diego Nehab
2001-06-11 18:15:49 +00:00
6fd40adc77Removed some warnings.
Diego Nehab
2001-06-09 21:22:57 +00:00
168fe9bacfUpdated for 1.3b release
Diego Nehab
2001-06-08 23:12:41 +00:00
8a8dfcdb72Updated version information.
Diego Nehab
2001-06-08 22:45:55 +00:00
c51283fa62Added select bug test. time became _time.
Diego Nehab
2001-06-08 22:42:01 +00:00
bf4ca59463sleep became _sleep.
Diego Nehab
2001-06-08 22:41:15 +00:00
6fb33f0a76ftp.lua needs buffer.lua...
Diego Nehab
2001-06-08 22:40:57 +00:00
e9eafc7480Now prints the elapsed time.
Diego Nehab
2001-06-08 22:40:09 +00:00
4456edcd0budpsocket errors are more verbose
Diego Nehab
2001-06-08 22:36:30 +00:00
23dcfabcf1Issue error when select is called with invalid parameters. Some warnings removed (include string.h)
Diego Nehab
2001-06-08 22:22:37 +00:00
d684be0cffBlock size increased.
Diego Nehab
2001-06-07 20:52:34 +00:00
2b7ea458d6Updated for 1.3b
Diego Nehab
2001-06-06 21:00:11 +00:00
8f1349ddd4Initial revision
Diego Nehab
2001-06-06 20:59:36 +00:00
f66963f9a1Updated for 1.3b.
Diego Nehab
2001-06-06 20:59:12 +00:00
c53ad62b00Streaming by callbacks implemented.
Diego Nehab
2001-06-06 20:55:45 +00:00
77090c53feUpdated for 1.3b version.
Diego Nehab
2001-06-04 20:45:17 +00:00
791c9f3168Select was also crashing on non-table parameters. Changed time to _time and sleep to _sleep to avoid name clashes.
Diego Nehab
2001-06-04 20:44:39 +00:00
f1ae9db45eHTTP message bodies are transfered using a callback to return body parts chunk by chunk.
Diego Nehab
2001-05-21 18:12:20 +00:00
f68b4dd136New description for the dict.lua file.
Diego Nehab
2001-04-25 20:11:03 +00:00
7d60e27beaTransformed in a library, instead of a sample program.
Diego Nehab
2001-04-25 20:08:21 +00:00
8c6473577dAdded support to UDP socket options.
Diego Nehab
2001-04-23 22:37:55 +00:00
561177a1ddSome internal functions were not static. Correct select bug that would crash on closed sockets.
Diego Nehab
2001-04-16 19:56:33 +00:00
bd0bf45979BUG: multi-line replies were not supported. Error logic simplified.
Diego Nehab
2001-03-27 19:25:11 +00:00
366fb989f3Updated for release 1.2.1.
Diego Nehab
2001-03-12 20:10:39 +00:00
f643710fa2Found a new way to define global version of table methods using only ~15 lines of code. So, they are back. Added '*w' word receive pattern.
Diego Nehab
2001-03-12 20:04:25 +00:00
794418cd7bAdded broadcast.lua description.
Diego Nehab
2001-03-12 20:02:21 +00:00
98a7e91de5Connection closed detection was improved. Client numbers are now tracked and sent along with broadcasted line.
Diego Nehab
2001-03-12 20:00:47 +00:00
3f52ed5c53Initial revision
Diego Nehab
2001-03-12 19:42:46 +00:00
8ed1b05f86Corrected command line parameter bug...
Diego Nehab
2001-03-12 19:40:29 +00:00
33817f147bSet timeout on data socket, to avoid hangs due to no keepalive packets.
Diego Nehab
2001-03-12 19:38:39 +00:00
22396d34f5Updated for release 1.2.1. Added '*w' pattern test.
Diego Nehab
2001-03-07 22:38:54 +00:00
bbb4b3e2c1Updated to remove use of global methods. Conforming to LuaSocket release 1.2.1
Diego Nehab
2001-03-06 20:16:17 +00:00
22a5d3f669Uptated for LuaSocket 1.2. The version released was incompatible...
Diego Nehab
2001-03-06 19:54:57 +00:00
2c9008772eUpdated to remove use of global methods. Conforming to LuaSocket release 1.2.1
Diego Nehab
2001-03-06 19:46:42 +00:00
29226588daUpdated to remove use of global methods. Conforming to LuaSocket release 1.2.1
Diego Nehab
2001-03-06 19:23:21 +00:00
27371883efRemoved global version of table methods. Close method is now permitted on closed sockets. Added generalized select support. Removed poll method, replaced by select with advantage.
Diego Nehab
2001-03-06 19:03:10 +00:00
297576affaUpdated for release 1.2.1 Buffer size constants are now part of luasocket.h.
Diego Nehab
2001-03-06 19:01:44 +00:00
a221087bc0Relaxed timeout tests.
Diego Nehab
2001-01-28 02:18:24 +00:00
159823e200Added support for the CYGWIN gcc compiler.
Diego Nehab
2001-01-28 02:16:20 +00:00
a466bd5d42Data connection is now passive. Even minimum FTP servers are usable.
Diego Nehab
2001-01-25 22:03:16 +00:00
273fd0964eUpdated for LuaSocket 1.2
Diego Nehab
2001-01-25 22:02:37 +00:00
bee46b39bfHTTP is now generic, with function http_request. RFC is more strictly followed.
Diego Nehab
2001-01-25 22:01:37 +00:00
f6b9505225Updated for LuaSocket 1.2.
Diego Nehab
2001-01-25 22:00:18 +00:00
2bb209ab9eUpdated for LuaSocket 1.2. More tests added.
Diego Nehab
2001-01-25 21:59:59 +00:00
7096b8df82Initial revision
Diego Nehab
2001-01-25 21:59:39 +00:00
68f51243b3Parameter passing updated.
Diego Nehab
2001-01-25 21:57:07 +00:00
03e063c21eUpdated for LuaSocket 1.2 Added description for daytimeclnt.lua, echoclnt.lua, echosrvr.lua and tftpclnt.lua.
Diego Nehab
2001-01-25 21:56:01 +00:00
973295ba18UDP code implemented. DNS code has been rewritten. Almost everything has been changed. :-)
Diego Nehab
2001-01-25 21:53:02 +00:00
7674d3b649It just creates the distribution now. Updated for LuaSocket 1.2
Diego Nehab
2001-01-25 21:49:48 +00:00
6370be578bModified beause of name changes in examples.
Diego Nehab
2001-01-17 19:51:21 +00:00
84baa83864The actuall bind to the Lua language has been rewritten with generalized use of closure values. Sockets are now real tables, where each method receives a p_sock structure as a closure. Global version of methods are now optional, and call the table versions. Included the toip function that converts from host name to ip address. new implementation of '*a' was broken as has been fixed. The windows code has been tested and is working.
Diego Nehab
2001-01-15 04:16:35 +00:00
b40d2ba005Included LUASOCKET_BUFFERSIZE and LUASOCKET_VERSION defines.
Diego Nehab
2001-01-13 07:11:44 +00:00
41643c2643All input from sockets is now buffered. This has drastically improved line I/O. The code is much simpler now, too. All timeout management has been rewritten.
Diego Nehab
2001-01-13 07:10:00 +00:00