Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add Wurldtech note to README. | Sam Roberts | 2012-04-11 | 1 | -0/+3 |
| | |||||
* | Correct luasocket version in v2.0.2 readme. | Sam Roberts | 2012-04-11 | 1 | -1/+1 |
| | | | | v2.0.2 was released with a README saying it was v2.0.1. | ||||
* | Support getoption method for tcp objects. | Sam Roberts | 2012-04-11 | 6 | -1/+170 |
| | |||||
* | Bounds check the argument to FD_SET | Sam Roberts | 2012-04-11 | 1 | -0/+1 |
| | | | | | Failing to check the FD_SET argument against FD_SETSIZE causes undefined behaviour (segfaults, for example). | ||||
* | socket_strerror() sometimes maps errno, instead of its argument | Sam Roberts | 2012-04-11 | 1 | -2/+2 |
| | | | | | | | Looks like a historical bug. Its err argument is an error number, but if it isn't using a custom error message for it, it just calls strerror() with the errno global, effectively ignoring its argument and returning a semi-random string. | ||||
* | Fix links to home.html, they should be to index.html. | Sam Roberts | 2012-04-11 | 14 | -55/+55 |
| | | | | home.html doesn't exist, index.html does. | ||||
* | mime: Remove io dependency | root | 2012-04-11 | 1 | -1/+0 |
| | | | | | | | | | This dependency was spuriously added, maybe for debug reasons, as confirmed to me by Diego Nehab by mail. Some systems based in Lua (e.g. Ginga) prohibit the use of io module for security reasons, so this dependency makes mime unusable; even worse this makes other modules, based on mime, unusable too (e.g. html). | ||||
* | Document dirty, getfd, and setfd for select and tcp. | Sam Roberts | 2012-04-11 | 3 | -0/+67 |
| | |||||
* | Reference index was missing documented APIs, and only partially alphabetized. | Sam Roberts | 2012-04-11 | 1 | -5/+8 |
| | |||||
* | Add support for serial devices as socket streams on unix. | Sam Roberts | 2012-04-11 | 6 | -1/+265 |
| | |||||
* | testsrvr asserts when test finishes successfully. | Sam Roberts | 2012-04-11 | 1 | -1/+6 |
| | | | | | | | 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. | ||||
* | Utility to find how many TCP connections can be made. | Sam Roberts | 2012-04-11 | 1 | -0/+32 |
| | |||||
* | Use poll by default for socket.connect(), instead of select(). | Sam Roberts | 2012-04-11 | 1 | -1/+1 |
| | | | | | | | | | | | Connect timeouts are implemented by waiting on the new socket descriptor. When select() is used for this, it imposes an arbitrary limit on the number of connections that can be made, usually 1024-3. Using poll() removes this limit on the number of simultaneous TCP connections can be made using luasocket. The previous default implementation using select() is available by defining SOCKET_SELECT. Note that using socket.select() always uses select(), so it isn't possible to wait on an arbitrary number of connections at once. | ||||
* | Receive of zero for UDP is now possible. | Sam Roberts | 2012-04-11 | 1 | -0/+6 |
| | | | | | Previously, receive of zero was considered to be "closed", but that is only true for stream-based protocols, like TCP. | ||||
* | Test showing failure to receive a zero-length packet. | Sam Roberts | 2012-04-11 | 1 | -0/+35 |
| | |||||
* | Stop returning an error after successful send of zero length UDP packets | Sam Roberts | 2012-04-11 | 2 | -6/+30 |
| | | | | | | | A zero-length send is invalid with TCP, but well defined with UDP. udp:send"" was returning (nil,"refused"), indicating that it failed when the packet was actually sent. The test script reproduces the bug, and includes a tcpdump of the zero length packet being sent. | ||||
* | OS X CFLAGS definition caused silent failure to build debug version of ↵ | Sam Roberts | 2012-04-11 | 1 | -3/+3 |
| | | | | | | | | | | | | luasocket. The luasocket tests require LUASOCKET_DEBUG to be defined at build time, but for OS X if COMPAT was undefined, the command line looked like ... -I -DLUASOCKET_DEBUG ... so that the the macro definition was silently being treated as the argument to -I. Result is the macro was never set, and tests would never run. Fixed by moving -I to the (optional) definition of the location of compat headers. | ||||
* | Add all-unix and install-unix targets which include all modules supported on ↵ | Sam Roberts | 2012-04-11 | 2 | -1/+6 |
| | | | | | | | unix. Besides standard socket and mime modules, this includes unix domain socket support. | ||||
* | Add location of Ubuntu's lua5.1 headers to config. | Sam Roberts | 2012-04-11 | 1 | -0/+1 |
| | |||||
* | Support the conventional DESTDIR and prefix variables | Sam Roberts | 2012-04-11 | 1 | -3/+7 |
| | | | | | | Many packaging systems rely on them, they are described here: - http://www.gnu.org/prep/standards/standards.html#index-prefix - http://www.gnu.org/prep/standards/standards.html#DESTDIR | ||||
* | ignore build output | Sam Roberts | 2012-04-11 | 1 | -0/+3 |
| | |||||
* | This commit was manufactured by cvs2svn to create tag 'luasocket-2-0-2'.v2.0.2 | cvs2git convertor | 2007-10-11 | 2 | -199/+165 |
| | | | | | | Sprout from master 2007-10-11 21:16:28 UTC Diego Nehab <diego@tecgraf.puc-rio.br> 'Tested each sample.' Cherrypick from master 2007-05-31 22:27:40 UTC Diego Nehab <diego@tecgraf.puc-rio.br> 'Before sending to Roberto.': gem/ltn012.tex gem/makefile | ||||
* | Tested each sample. | Diego Nehab | 2007-10-11 | 27 | -165/+791 |
| | |||||
* | Global variable references. | Diego Nehab | 2007-07-11 | 3 | -5/+5 |
| | |||||
* | Typo. | Diego Nehab | 2007-06-15 | 1 | -1/+1 |
| | |||||
* | Waiting for Roberto's remarks. | Diego Nehab | 2007-06-15 | 1 | -0/+2 |
| | |||||
* | Almost ready to release. | Diego Nehab | 2007-06-15 | 4 | -59/+41 |
| | |||||
* | Modified and tested on Linux. | Diego Nehab | 2007-06-12 | 4 | -23/+25 |
| | |||||
* | Removed os.exit from test. | Diego Nehab | 2007-06-11 | 1 | -1/+0 |
| | |||||
* | Crashy bug fixed in recvraw. | Diego Nehab | 2007-06-11 | 12 | -33/+97 |
| | | | | Also fixed returns on closed socket. | ||||
* | Before sending to Roberto. | Diego Nehab | 2007-05-31 | 1 | -113/+105 |
| | |||||
* | Lua Gem. | Diego Nehab | 2007-05-31 | 3 | -0/+805 |
| | |||||
* | Added simple unix tests. | Diego Nehab | 2007-04-09 | 3 | -10/+17 |
| | |||||
* | Couple bug fixes. | Diego Nehab | 2007-03-12 | 11 | -73/+76 |
| | |||||
* | Thread safety... | Diego Nehab | 2006-04-28 | 1 | -10/+6 |
| | |||||
* | Tested on Windows and it works. | Diego Nehab | 2006-04-26 | 2 | -6/+10 |
| | |||||
* | Adjusted projects for compat-5.1r5 | Diego Nehab | 2006-04-20 | 2 | -6/+6 |
| | |||||
* | Tidy. | Diego Nehab | 2006-04-20 | 1 | -2/+1 |
| | |||||
* | Spell checked and updated modification date. | Diego Nehab | 2006-04-20 | 14 | -15/+15 |
| | |||||
* | Reverted back to Linux. | Diego Nehab | 2006-04-20 | 1 | -5/+5 |
| | |||||
* | Almost ready to release 2.0.1 | Diego Nehab | 2006-04-20 | 5 | -36/+59 |
| | |||||
* | Reverted to Linux default. | Diego Nehab | 2006-04-18 | 1 | -10/+10 |
| | |||||
* | Adding wishes for 5.2 | Diego Nehab | 2006-04-14 | 1 | -0/+5 |
| | |||||
* | Mentions that closed sockets are ignored by select. | Diego Nehab | 2006-04-14 | 1 | -0/+5 |
| | |||||
* | http.request was using old host header during redirects. | Diego Nehab | 2006-04-13 | 4 | -1/+7 |
| | |||||
* | Stupid bug was reusing the nreqt.headers.host during redirect. | Diego Nehab | 2006-04-12 | 2 | -10/+19 |
| | |||||
* | Almost done 2.0.1. | Diego Nehab | 2006-04-03 | 14 | -140/+72 |
| | |||||
* | Final patches... | Diego Nehab | 2006-04-03 | 6 | -17/+33 |
| | |||||
* | Better image to test mail. | Diego Nehab | 2006-04-02 | 1 | -0/+0 |
| | |||||
* | Updates for 2.0.1 on the way. | Diego Nehab | 2006-03-19 | 6 | -62/+26 |
| |