Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Build with Lua 5.2 without LUA_COMPAT_MODULE flag. | moteus | 2013-05-27 | 14 | -115/+179 |
| | | | | LUASOCKET_USE_GLOBAL flag enable create global variables when load socket/mime modules. | ||||
* | Fix. Optional IPv6 test | moteus | 2013-05-27 | 1 | -2/+8 |
| | |||||
* | Fix. setsockname fails with "*" as host. | moteus | 2013-05-27 | 3 | -1/+9 |
| | | | | Add. test_bind.lua | ||||
* | Fix. getaddrinfo returns garbage as address on Windows. | moteus | 2013-05-27 | 2 | -3/+33 |
| | | | | Add. test_getaddrinfo.lua | ||||
* | No need for build script: makefile target instead. | Diego Nehab | 2013-05-26 | 1 | -9/+0 |
| | |||||
* | Merge tryconnect6 into inet_tryconnect. | Diego Nehab | 2013-05-26 | 4 | -16/+29 |
| | |||||
* | Fix socket.connect | Diego Nehab | 2013-05-26 | 2 | -3/+19 |
| | | | | | | | Previous implementation was not making sure the socket had the same family as the addr returned by getaddrinfo. So instead of "connection refused", we could get "invalid argument", which was our fault. | ||||
* | Check linux build. | Diego Nehab | 2013-05-25 | 2 | -3/+3 |
| | |||||
* | Added my test command lines. | Diego Nehab | 2013-05-25 | 4 | -3/+14 |
| | |||||
* | Add MingW support. | unknown | 2013-05-25 | 7 | -103/+157 |
| | |||||
* | Merge branch 'lua52-mingw' of https://github.com/pkulchenko/luasocket into ↵ | unknown | 2013-05-24 | 3 | -0/+65 |
|\ | | | | | | | pkulchenko | ||||
| * | Updated IPV6_V6ONLY to match header files on Windows. | Paul Kulchenko | 2013-04-09 | 1 | -1/+1 |
| | | |||||
| * | Added inet_pton/inet_ntop for MinGW on Windows; compiles with Lua52. | Paul Kulchenko | 2013-04-07 | 3 | -0/+65 |
| | | |||||
* | | Merge pull request #37 from davidm/unstable | Diego Nehab | 2013-04-17 | 1 | -1/+1 |
|\ \ | | | | | | | lpr.lua: fix invalid string escape sequence \? | ||||
| * | | lpr.lua: fix invalid string escape sequence \? | David Manura | 2013-04-17 | 1 | -1/+1 |
|/ / | | | | | | | Not valid in 5.2 and luajit. | ||||
* | | Merge pull request #29 from ↵ | Diego Nehab | 2013-04-17 | 1 | -0/+67 |
|\ \ | | | | | | | | | | | | | keplerproject/94c958871919726f2954b3d3fa9a9f8ae21124e9 Rockspec for building and installing LuaSocket 2.1 with LuaRocks | ||||
| * | | rockspec for luasocket 2.1 unstable | Fabio Mascarenhas | 2013-01-24 | 1 | -0/+67 |
| |/ | |||||
* | | Merge pull request #27 from catwell/pull-noarg | Diego Nehab | 2013-04-17 | 4 | -12/+13 |
|\ \ | | | | | | | fix more uses of arg | ||||
| * | | remove uses of arg in the codebase | Pierre Chapuis | 2013-01-23 | 2 | -7/+6 |
| | | | |||||
| * | | fix use of arg in ltn documentation | Pierre Chapuis | 2013-01-23 | 2 | -5/+7 |
| |/ | |||||
* | | Merge pull request #32 from ideka/unstable | Diego Nehab | 2013-04-17 | 11 | -19/+19 |
|\ \ | |/ |/| | Use the length operator (#) instead of table.getn. | ||||
| * | Use the length operator (#) instead of table.getn. | Gerardo Marset | 2013-02-25 | 11 | -19/+19 |
|/ | | | | | table.getn was deprecated in Lua 5.1 in favor of #, the length operator. See: http://www.lua.org/manual/5.1/manual.html#7.2 | ||||
* | Cookie modifications. | Diego Nehab | 2013-01-10 | 3 | -0/+90 |
| | |||||
* | Remove warnings and fix makefile for Win32. | Diego Nehab | 2012-12-11 | 9 | -37/+33 |
| | |||||
* | Fix socket_accept usage to depend on family. | Diego Nehab | 2012-12-11 | 8 | -13/+22 |
| | |||||
* | Move Visual Studio projects to 2012. | Diego Nehab | 2012-12-10 | 5 | -470/+415 |
| | |||||
* | Fix ltn12 version. | Diego Nehab | 2012-12-10 | 2 | -1/+7 |
| | |||||
* | Merge pull request #25 from ewmailing/unstable | Diego Nehab | 2012-12-10 | 1 | -0/+25 |
|\ | | | | | Copied socket_gaistrerror implementation from usocket to wsocket to allo... | ||||
| * | Copied socket_gaistrerror implementation from usocket to wsocket to allow ↵ | Eric Wing | 2012-11-20 | 1 | -0/+25 |
| | | | | | | | | Windows version to compile because it is missing the function. EAI_OVERFLOW and EAI_SYSTEM are commented out because they don't exist on Windows. | ||||
* | | Merge pull request #24 from catwell/tracking-diego | Diego Nehab | 2012-12-10 | 1 | -1/+3 |
|\ \ | |/ |/| | fix use of arg in ltn12 | ||||
| * | fix use of arg in ltn12 | Pierre Chapuis | 2012-09-17 | 1 | -1/+3 |
|/ | |||||
* | Merge pull request #22 from Florob/smtp | Diego Nehab | 2012-08-23 | 1 | -2/+2 |
|\ | | | | | Send SMTP AUTH LOGIN response using tp:send(). Fixes #18 | ||||
| * | Send SMTP AUTH LOGIN response using tp:send(). Fixes #18 | Florian Zeitz | 2012-08-07 | 1 | -2/+2 |
| | | | | | | | | | | | | tp:command() uppercases the command. Without a command we would end up with a space in front of the data. Therefore use send() directly here. | ||||
* | | Fix udp:setpeername("*") | Diego Nehab | 2012-08-23 | 9 | -31/+96 |
|/ | | | | | | | | | | | | | | There seems to be a curious difference between MacOS and Linux and I am not sure if this is documented. When you break a "connection" on Mac OS, you only eliminate the peer association, but the local address remains bound. On Linux, breaking a "connection" eliminates the binding to the local address. Have you guys ever come accross this? Another irritating difference is that connect() returns the error EAFNOSUPPORT on Mac OS. I am going to ignore all errors when the reason for calling connect() is simply to break the "connection". | ||||
* | Add new bug fix comment. | Diego Nehab | 2012-08-01 | 1 | -0/+3 |
| | |||||
* | Fix HORRIBLE but in b64/qp code. | Diego Nehab | 2012-08-01 | 2 | -1/+9 |
| | | | | | | | Bug was caught by user moteus. Code was checking if arguments was nil after using luaL_Buffer code, which messes with the stack. Simple to fix, though. | ||||
* | Fixed default Linux path to work with Ubuntu | Diego Nehab | 2012-08-01 | 1 | -2/+2 |
| | | | | Also fixed clean target to remove serial objects | ||||
* | Merge pull request #20 from Florob/sendto | Diego Nehab | 2012-07-31 | 1 | -25/+84 |
|\ | | | | | IPv6 support for udp:sendto() and udp:receivefrom() | ||||
| * | Add IPv6 support to udp:receivefrom() | Florian Zeitz | 2012-07-18 | 1 | -16/+54 |
| | | |||||
| * | Add IPv6 support to udp:sendto() | Florian Zeitz | 2012-07-17 | 1 | -9/+30 |
| | | |||||
* | | Merge pull request #15 from darkrain42/unstable | Diego Nehab | 2012-07-31 | 1 | -1/+5 |
|\ \ | | | | | | | tcp: Initialize clnt->family in :accept() | ||||
| * | | tcp: Initialize clnt->family in :accept() | Paul Aurich | 2012-05-21 | 1 | -1/+5 |
| |/ | | | | | | | | | Also unconditionally zero out the structs when allocated, for good measure. | ||||
* | | Merge pull request #14 from Zash/zash-improves-makefile | Diego Nehab | 2012-07-31 | 1 | -6/+7 |
|\ \ | |/ |/| | Use the install util instead of cp and mkdir | ||||
| * | src/makefile: Use install instead of cp and mkdir. | Kim Alvefur | 2012-05-15 | 1 | -3/+3 |
| | | |||||
| * | src/makefile: Move mkdir to a variable | Kim Alvefur | 2012-05-15 | 1 | -4/+5 |
|/ | |||||
* | Improve makefile to allow overriden variables | Diego Nehab | 2012-05-11 | 2 | -12/+22 |
| | | | | | | Before this change, it was difficult to set default directories for different platforms that would still work with different Lua versions. | ||||
* | Merge pull request #12 from sam-github/fix-connect6-and-do-connect-in-c | Diego Nehab | 2012-05-10 | 7 | -48/+69 |
|\ | | | | | socket.connect now implemented in the C core | ||||
| * | socket.connect now implemented in the C core | Sam Roberts | 2012-05-10 | 7 | -48/+69 |
|/ | | | | | | | This avoid socket.lua duplicating the iteration over the results of getaddrinfo(). Some problems with the C implementation not initializing sockets or the luasocket family have also been fixed, and error reporting made more robust. | ||||
* | Merge pull request #8 from sam-github/fix-confusing-servname-reference | Diego Nehab | 2012-05-08 | 1 | -2/+2 |
|\ | | | | | Reword error msg to distinguish between service and server | ||||
| * | Reword error msg to distinguish between service and server | Sam Roberts | 2012-05-08 | 1 | -2/+2 |
| | | | | | | | | | | servname is easily confused with "server name", making it seem as if the server name couldn't be resolved. |