aboutsummaryrefslogtreecommitdiff
path: root/etc (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-06-14Add files to distribution.Diego Nehab1-4/+5
2013-06-14Change 2.1 to 3.0Diego Nehab1-2/+2
2013-06-14Change 2.1 to 3.0-rc1Diego Nehab2-1/+2
2013-06-14Update NEW file and sectionDiego Nehab3-39/+68
2013-06-13Download archive with https rather than git schemeDiego Nehab1-2/+2
2013-06-13Fix version in rockspec.Diego Nehab1-1/+1
2013-06-13Fix path for rockspec in travis file.Diego Nehab1-2/+2
2013-06-13Merging moteus suggestions for rockspec and travisDiego Nehab2-4/+57
2013-06-12Fix makefile and test_socket_error.luaDiego Nehab3-4/+12
2013-06-11new rockspec using builtin build typeFabio Mascarenhas2-67/+105
2013-06-11Changing from 2.1-rc1 to 3.0-rc1.Diego Nehab10-34/+33
2013-06-11Fix unix export marker.Diego Nehab2-1/+7
2013-06-05Export global table only if "module()" is defined.Diego Nehab2-21/+24
2013-06-04No need for inet_pton.Diego Nehab3-39/+3
2013-05-30Unix domain tests still broken.Diego Nehab2-12/+12
2013-05-30Remove warnings. Move windows specific code.unknown5-31/+40
2013-05-30Leaving if in src/ but out of build for now.Diego Nehab8-196/+265
2013-05-30Fix. recive 2xx while ftp.get cause timeout errormoteus1-1/+5
In this example: >Client send: MDTM test.txt >Server response: 213 20120824120909 Because FTP server do not open new channel (2XX response) and LuaSocket try open new channel we get timeout. ```lua local ftp = require "socket.ftp" local ltn12 = require "ltn12" local url = require("socket.url") local URL = "ftp://USER:TEST@127.0.0.1"; local CMD = 'MDTM test.txt'; -- get timeout ftp.get{ url = URL; command = CMD; sink = ltn12.sink.table{}; } -- or we can use ftp.command ftp.command{ url = URL; command = URL, check = function(...) local status, data = ... return true end; } ```
2013-05-29Add. Allow get `error` option to socket.moteus5-0/+43
2013-05-29Change VC12 project to no LUA_COMPAT_MODUULEunknown2-8/+8
2013-05-29Export global only if LUA_COMPAT_MODULE defined.Diego Nehab11-37/+55
2013-05-28Fix "final" bug in pton and TCP connreset handlingunknown2-19/+27
2013-05-28Typo fixed.Diego Nehab1-1/+1
2013-05-28Fixed inet_pton and a new Winsock UDP bug.unknown4-69/+84
inet_pton was copying the entire sockaddr_in struct, rather than just the sin_addr field... I am a bit unsure about the UDP fix, because it may affect TCP as well. On UDP sockets, when a sendto fails, the next receive/receivefrom fails with CONNRESET. I changed sock_recv/sock_recvfrom in wsocket.c to skip the CONNRESET from the recv/recvfrom, hoping that if the socket is TCP, sock_waitfd will get the CONNRESET again. The tests pass, but this should be tested more thoroughly.
2013-05-27Fix wrong usage of inet_pton.unknown1-2/+2
2013-05-27Link only against ws2_32.lib.unknown2-7/+7
2013-05-27Simplifying getaddrinfo treatment.Diego Nehab1-32/+18
2013-05-27Fix Visual Studio 2012 projectsunknown10-56/+316
2013-05-27Fix. use table.unpack in mimetest on Lua 5.2.moteus1-0/+2
2013-05-27Build with Lua 5.2 without LUA_COMPAT_MODULE flag.moteus14-115/+179
LUASOCKET_USE_GLOBAL flag enable create global variables when load socket/mime modules.
2013-05-27Fix. Optional IPv6 testmoteus1-2/+8
2013-05-27Fix. setsockname fails with "*" as host.moteus3-1/+9
Add. test_bind.lua
2013-05-27Fix. getaddrinfo returns garbage as address on Windows.moteus2-3/+33
Add. test_getaddrinfo.lua
2013-05-26No need for build script: makefile target instead.Diego Nehab1-9/+0
2013-05-26Merge tryconnect6 into inet_tryconnect.Diego Nehab4-16/+29
2013-05-26Fix socket.connectDiego Nehab2-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.
2013-05-25Check linux build.Diego Nehab2-3/+3
2013-05-25Added my test command lines.Diego Nehab4-3/+14
2013-05-25Add MingW support.unknown7-103/+157
2013-05-25Change Mac OS Lua directoryDiego Nehab1-1/+1
2013-04-17lpr.lua: fix invalid string escape sequence \?David Manura1-1/+1
Not valid in 5.2 and luajit.
2013-04-09Updated IPV6_V6ONLY to match header files on Windows.Paul Kulchenko1-1/+1
2013-04-07Added inet_pton/inet_ntop for MinGW on Windows; compiles with Lua52.Paul Kulchenko3-0/+65
2013-02-25Use the length operator (#) instead of table.getn.Gerardo Marset11-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