Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | fixed yieldable socket.protect in etc/dispatch.lua | Philipp Janda | 2014-11-10 | 1 | -15/+22 | |
|/ / | ||||||
* | | Merge pull request #108 from daurnimator/master | Diego Nehab | 2014-10-27 | 1 | -5/+0 | |
|\ \ | | | | | | | src/usocket: Do not setblocking on destroy, shutdown, and listen. | |||||
| * | | src/usocket: Don't unset/set O_NONBLOCK around listen() or shutdown() calls. | daurnimator | 2014-10-27 | 1 | -4/+0 | |
| | | | | | | | | | | | | | | | It doesn't effect them. Not true on windows | |||||
| * | | src/usocket: Do not setblocking on destroy; | daurnimator | 2014-10-27 | 1 | -1/+0 | |
|/ / | | | | | | | | | | | | | This results in unexpected behaviour if the socket has been `dup()`d, as O_NONBLOCK is shared. Close is always 'blocking' anyway See https://github.com/wahern/cqueues/issues/13 for an example use case | |||||
* / | Fix Host: header according to RFC7230 | Diego Nehab | 2014-07-15 | 1 | -3/+2 | |
|/ | ||||||
* | Add MYCFLAGS and MYLDFLAGS go allow for customization | Diego Nehab | 2013-09-09 | 1 | -6/+11 | |
| | ||||||
* | Add support for FreeBSD in makefile | Diego Nehab | 2013-09-09 | 2 | -1/+30 | |
| | | | | Thanks to Leryan. See issue #78. | |||||
* | Fixed timeout bug introduced by commit e81a6ff | Diego Nehab | 2013-09-09 | 1 | -8/+4 | |
| | ||||||
* | Merge pull request #74 from catwell/pull-hostport | Diego Nehab | 2013-09-09 | 1 | -1/+3 | |
|\ | | | | | Include port in default Host header | |||||
| * | include port in default Host header | Pierre Chapuis | 2013-08-14 | 1 | -1/+3 | |
| | | | | | | See RFC 2616 section 14.23. | |||||
* | | Merge pull request #65 from fab13n/480a818bf0ef6de32527ba14fc2bb27e754d0612 | Diego Nehab | 2013-09-09 | 2 | -3/+35 | |
|\ \ | |/ |/| | Support for several filters in ltn12.{sink,source}.chain | |||||
| * | support multiple filters in ltn12.{sink,source}.chain() | Fabien Fleutot | 2013-06-18 | 2 | -3/+35 | |
| | | ||||||
* | | Merge pull request #69 from catwell/pull-globals | Diego Nehab | 2013-07-05 | 1 | -3/+3 | |
|\ \ | |/ |/| | fixes related to constants in the HTTP module | |||||
| * | http: look for PROXY in _M, not as a global | Pierre Chapuis | 2013-07-05 | 1 | -2/+2 | |
| | | ||||||
| * | http: do not set global TIMEOUT | Pierre Chapuis | 2013-07-05 | 1 | -1/+1 | |
|/ | ||||||
* | Change link to github page.v3.0-rc1 | Diego Nehab | 2013-06-14 | 1 | -2/+2 | |
| | ||||||
* | Add files to distribution. | Diego Nehab | 2013-06-14 | 1 | -4/+5 | |
| | ||||||
* | Change 2.1 to 3.0 | Diego Nehab | 2013-06-14 | 1 | -2/+2 | |
| | ||||||
* | Change 2.1 to 3.0-rc1 | Diego Nehab | 2013-06-14 | 2 | -1/+2 | |
| | ||||||
* | Update NEW file and section | Diego Nehab | 2013-06-14 | 3 | -39/+68 | |
| | ||||||
* | Download archive with https rather than git scheme | Diego Nehab | 2013-06-13 | 1 | -2/+2 | |
| | ||||||
* | Fix version in rockspec. | Diego Nehab | 2013-06-13 | 1 | -1/+1 | |
| | ||||||
* | Fix path for rockspec in travis file. | Diego Nehab | 2013-06-13 | 1 | -2/+2 | |
| | ||||||
* | Merging moteus suggestions for rockspec and travis | Diego Nehab | 2013-06-13 | 2 | -4/+57 | |
| | ||||||
* | Fix makefile and test_socket_error.lua | Diego Nehab | 2013-06-12 | 3 | -4/+12 | |
| | ||||||
* | Merge pull request #58 from mascarenhas/master | Diego Nehab | 2013-06-12 | 2 | -67/+105 | |
|\ | | | | | New rockspec that uses LuaRocks to build instead of the makefile | |||||
| * | new rockspec using builtin build type | Fabio Mascarenhas | 2013-06-11 | 2 | -67/+105 | |
|/ | ||||||
* | Changing from 2.1-rc1 to 3.0-rc1. | Diego Nehab | 2013-06-11 | 10 | -34/+33 | |
| | ||||||
* | Fix unix export marker. | Diego Nehab | 2013-06-11 | 2 | -1/+7 | |
| | ||||||
* | Export global table only if "module()" is defined. | Diego Nehab | 2013-06-05 | 2 | -21/+24 | |
| | ||||||
* | No need for inet_pton. | Diego Nehab | 2013-06-04 | 3 | -39/+3 | |
| | ||||||
* | Merge pull request #49 from moteus/moteus-ftp-get-2xx | Diego Nehab | 2013-05-30 | 1 | -1/+5 | |
|\ | | | | | Fix. recive 2xx while ftp.get cause timeout error | |||||
| * | Fix. recive 2xx while ftp.get cause timeout error | moteus | 2013-05-30 | 1 | -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; } ``` | |||||
* | | Unix domain tests still broken. | Diego Nehab | 2013-05-30 | 2 | -12/+12 | |
| | | ||||||
* | | Remove warnings. Move windows specific code. | unknown | 2013-05-30 | 5 | -31/+40 | |
| | | ||||||
* | | Leaving if in src/ but out of build for now. | Diego Nehab | 2013-05-30 | 8 | -196/+265 | |
|/ | ||||||
* | Merge pull request #43 from moteus/moteus-getopt-error | Diego Nehab | 2013-05-29 | 5 | -0/+43 | |
|\ | | | | | Add. Allow get `error` option to socket. | |||||
| * | Add. Allow get `error` option to socket. | moteus | 2013-05-29 | 5 | -0/+43 | |
|/ | ||||||
* | Change VC12 project to no LUA_COMPAT_MODUULE | unknown | 2013-05-29 | 2 | -8/+8 | |
| | ||||||
* | Export global only if LUA_COMPAT_MODULE defined. | Diego Nehab | 2013-05-29 | 11 | -37/+55 | |
| | ||||||
* | Merge branch 'unstable' of git://github.com/diegonehab/luasocket into ↵ | moteus | 2013-05-28 | 13 | -166/+435 | |
|\ | | | | | | | moteus-lua52 | |||||
| * | Fix "final" bug in pton and TCP connreset handling | unknown | 2013-05-28 | 2 | -19/+27 | |
| | | ||||||
| * | Typo fixed. | Diego Nehab | 2013-05-28 | 1 | -1/+1 | |
| | | ||||||
| * | Fixed inet_pton and a new Winsock UDP bug. | unknown | 2013-05-28 | 4 | -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. | |||||
| * | Fix wrong usage of inet_pton. | unknown | 2013-05-27 | 1 | -2/+2 | |
| | | ||||||
| * | Link only against ws2_32.lib. | unknown | 2013-05-27 | 2 | -7/+7 | |
| | | ||||||
| * | Merge branch 'pkulchenko' into unstable | Diego Nehab | 2013-05-27 | 22 | -142/+582 | |
| |\ | ||||||
| | * | Simplifying getaddrinfo treatment. | Diego Nehab | 2013-05-27 | 1 | -32/+18 | |
| | | | ||||||
| | * | Merge branch 'moteus' of https://github.com/moteus/luasocket into moteus | unknown | 2013-05-27 | 5 | -6/+50 | |
| | |\ | ||||||
| | * | | Fix Visual Studio 2012 projects | unknown | 2013-05-27 | 10 | -56/+316 | |
| | | | |