Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | 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). | |||||
| * | Add support for serial devices as socket streams on unix. | Sam Roberts | 2012-04-11 | 4 | -1/+263 | |
| | | ||||||
| * | 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. | |||||
| * | Stop returning an error after successful send of zero length UDP packets | Sam Roberts | 2012-04-11 | 1 | -6/+5 | |
| | | | | | | | | | | | | | | 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. | |||||
| * | Add all-unix and install-unix targets which include all modules supported on ↵ | Sam Roberts | 2012-04-11 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | unix. Besides standard socket and mime modules, this includes unix domain socket support. | |||||
* | | inet: Honor the strict aliasing rule | Florian Zeitz | 2012-04-11 | 1 | -12/+14 | |
| | | ||||||
* | | Conditional creation of p_timeout instance 'tm' | Liam Devine | 2012-04-11 | 1 | -0/+4 | |
| | | ||||||
* | | This is a replacement for luaL_typerror , removed from Lua 5.2, which ↵ | Liam Devine | 2012-04-11 | 2 | -0/+17 | |
| | | | | | | | | | | | | | | corrects the spelling. NOTE: There is one failing test in.the /test/testsrvr.lua and /test/testclnt.lua combination which was present in the repo I cloned from. | |||||
* | | Compiles with Lua 5.1.4 and Lua 5.2.0-beta, although the makefile needs ↵ | Liam Devine | 2012-04-11 | 15 | -43/+59 | |
| | | | | | | | | sorting out to take maybe a version number and also the local paths need removing. | |||||
* | | inet: return more useful errors | Paul Aurich | 2012-04-11 | 1 | -2/+3 | |
| | | ||||||
* | | inet: refactor getpeername to allocate the struct on the stack | Paul Aurich | 2012-04-11 | 1 | -13/+23 | |
| | | ||||||
* | | Fix getpeername to work with IPv6 addresses | Florian Zeitz | 2012-04-11 | 1 | -5/+18 | |
| | | ||||||
* | | Add support for connecting to IPv6 hosts | Florian Zeitz | 2012-04-11 | 5 | -59/+86 | |
| | | ||||||
* | | dns.getaddrinfo: Return proper error messages | Florian Zeitz | 2012-04-11 | 1 | -1/+1 | |
| | | ||||||
* | | Add support for the IPV6_V6ONLY socket option defaulting to on. | Florian Zeitz | 2012-04-11 | 4 | -0/+18 | |
| | | ||||||
* | | Adapt socket.bind() to create a IPv4 or IPv6 depending on the address given | Florian Zeitz | 2012-04-11 | 1 | -1/+9 | |
| | | ||||||
* | | dns: Rename toip6() to getaddrinfo() since the old name is misleading | Florian Zeitz | 2012-04-11 | 1 | -3/+3 | |
| | | ||||||
* | | Rework binding IPv6 sockets by harmonizing it with the IPv4 variant | Florian Zeitz | 2012-04-11 | 6 | -124/+80 | |
| | | ||||||
* | | url.escape/url.unescape: Fix to return *only* the encoded/decoded string ↵ | Matthew Wild | 2012-04-11 | 1 | -4/+4 | |
| | | | | | | | | (thanks moodydeath) | |||||
* | | Fix two crashes and add -Wshadow so that this can't happen again. | Paul Aurich | 2012-04-11 | 4 | -32/+32 | |
| | | | | | | | | | | The two crashes are the s/const char *// changes in tcp.c. The rest is cleanup so it will build. | |||||
* | | #ifdef EAI_BADHINTS and EAI_PROTOCOL which don't seem available on my system ↵ | Matthew Wild | 2012-04-11 | 1 | -0/+4 | |
| | | | | | | | | (Linux/glibc 2.11) | |||||
* | | Preliminary IPv6 support for v2.1 | Diego Nehab | 2012-04-11 | 25 | -39/+381 | |
| | | ||||||
* | | Saving before big changes to support IPv6. | Diego Nehab | 2011-05-25 | 10 | -157/+219 | |
| | | ||||||
* | | Decent makefiles! | Diego Nehab | 2009-05-27 | 29 | -148/+334 | |
| | | ||||||
* | | New release. | Diego Nehab | 2007-10-13 | 2 | -6/+24 | |
|/ | ||||||
* | Global variable references. | Diego Nehab | 2007-07-11 | 1 | -3/+3 | |
| | ||||||
* | Crashy bug fixed in recvraw. | Diego Nehab | 2007-06-11 | 6 | -18/+24 | |
| | | | | Also fixed returns on closed socket. | |||||
* | Couple bug fixes. | Diego Nehab | 2007-03-12 | 3 | -14/+22 | |
| | ||||||
* | Almost ready to release 2.0.1 | Diego Nehab | 2006-04-20 | 1 | -3/+4 | |
| | ||||||
* | http.request was using old host header during redirects. | Diego Nehab | 2006-04-13 | 1 | -1/+1 | |
| | ||||||
* | Stupid bug was reusing the nreqt.headers.host during redirect. | Diego Nehab | 2006-04-12 | 1 | -10/+9 | |
| | ||||||
* | Almost done 2.0.1. | Diego Nehab | 2006-04-03 | 4 | -5/+6 | |
| | ||||||
* | Final patches... | Diego Nehab | 2006-04-03 | 1 | -1/+1 | |
| | ||||||
* | Updates for 2.0.1 on the way. | Diego Nehab | 2006-03-19 | 1 | -1/+1 | |
| | ||||||
* | Chose option 1) for http.lua. | Diego Nehab | 2006-03-14 | 4 | -52/+25 | |
| | | | | Need to fix everything to make sure it works with the new compat-5.1 | |||||
* | Fixing bugs... | Diego Nehab | 2006-03-13 | 4 | -90/+134 | |
| | ||||||
* | Few tweaks in installation, some missing files, etc. | Diego Nehab | 2005-11-22 | 10 | -117/+118 | |
| | ||||||
* | Works in Finnish now! Who would say... | Diego Nehab | 2005-11-21 | 1 | -2/+2 | |
| | ||||||
* | Changed prefix of function names to match module names. | Diego Nehab | 2005-11-20 | 7 | -76/+91 | |
| | | | | Removed some warnings and useless code. | |||||
* | Before compiling on Windows. | Diego Nehab | 2005-10-07 | 23 | -446/+458 | |
| | ||||||
* | Returning a function. | Diego Nehab | 2005-10-05 | 1 | -7/+1 | |
| | ||||||
* | Bugs sent by David. | Diego Nehab | 2005-10-05 | 8 | -8/+0 | |
| | ||||||
* | Almost ready to release. | Diego Nehab | 2005-09-29 | 29 | -65/+73 | |
| | ||||||
* | Compiled on Windows. Fixed a bunch of stuff. Almost ready to release. | Diego Nehab | 2005-08-23 | 7 | -29/+37 | |
| | | | | | Implemented a nice dispatcher! Non-blocking check-links and forward server use the dispatcher. | |||||
* | Final push for release... | Diego Nehab | 2005-08-12 | 13 | -163/+145 | |
| | ||||||
* | Added check-links-nb.lua that check links in a non-blocking way. | Diego Nehab | 2005-06-20 | 1 | -1/+2 | |
| | ||||||
* | Using core.so instead of csocket.so and cmime.so. | Diego Nehab | 2005-06-17 | 7 | -68/+81 | |
| | ||||||
* | Working on the manual. | Diego Nehab | 2005-06-14 | 10 | -24/+26 | |
| | ||||||
* | Stupid bug in http.lua. | Diego Nehab | 2005-06-12 | 6 | -65/+69 | |
| |