Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' into hjelmeland-patch-1hjelmeland-patch-1 | Caleb Maclennan | 2023-11-10 | 44 | -795/+2035 |
|\ | |||||
| * | refactor(core): Replace check for SO_BINDTODEVICE support with platform ↵ | leso-kn | 2023-10-27 | 1 | -2/+2 |
| | | | | | | | | independent version | ||||
| * | fix(core): Disable SO_BINDTODEVICE on windows | leso-kn | 2023-10-27 | 1 | -2/+2 |
| | | | | | | | | Co-authored-by: Sewbacca <sebastian.kalus@kolabnow.com> | ||||
| * | feat(tcp): Add 'bindtodevice' option (#408) | Leso_KN | 2023-10-23 | 3 | -0/+32 |
| | | |||||
| * | fix(http): Allow relative redirect on https (#395) | Henri D | 2022-10-08 | 1 | -2/+3 |
| | | | | | | Location header can now be relative: https://httpwg.org/specs/rfc9110.html#field.location | ||||
| * | Revert "fix(usocket): Fix typo in return value function name" | Caleb Maclennan | 2022-08-31 | 1 | -1/+1 |
| | | | | | | | | | | | | This reverts commit 88c72acd771ac6c96ea7f4e57293307e282ad49f. See discussion on #390 | ||||
| * | style(usocket): Remove trailing space at EOL | zhaozg | 2022-08-30 | 1 | -1/+1 |
| | | |||||
| * | fix(usocket): Fix typo in return value function name | zhaozg | 2022-08-30 | 1 | -1/+1 |
| | | |||||
| * | style(core) Remove lingering c-style comment (#388) | George Zhao | 2022-08-27 | 1 | -1/+1 |
| | | |||||
| * | fix(build): Use gai_strerrorA not gai_strerror on Windows | rpatters1 | 2022-07-27 | 5 | -6/+8 |
| | | | | | | | | | | | | | | | | | | | | | | * Explicitly call gai_strerrorA (for Windows builds), so that the code work correctly in 32bit or 64bit builds. * Implement GAI_STRERROR macro to deal with Windows vs. Non-Windows compiles for 64-bit. * make usocket.c consistent with other modules that call macro GAI_STRERROR * Use different name not just different case for macro wrapping function Co-authored-by: Caleb Maclennan <caleb@alerque.com> | ||||
| * | feat(tcp): Add support for TCP Defer Accept | Kim Alvefur | 2022-07-27 | 3 | -0/+16 |
| | | | | | | | | | | | | | | | | This makes it so that a listening socket does not become readable for accept() until a connection has been fully established *and* started sending something, thus the program doesn't have to wait for the first data. This only makes sense for client-speaks-first protocols. Co-authored-by: Caleb Maclennan <caleb@alerque.com> | ||||
| * | feat(tcp): Add support for TCP Fast Open | Kim Alvefur | 2022-07-27 | 3 | -0/+29 |
| | | |||||
| * | chore: Update internal version references to match release (#370) | Robert Scheck | 2022-03-28 | 2 | -2/+2 |
| | | |||||
| * | chore; add Lua 5.4 to make files | Thijs Schreijer | 2022-03-23 | 1 | -6/+6 |
| | | |||||
| * | http.lua: set transfer-encoding if source and no content-length | Julian Squires | 2022-03-22 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a source is specified without a content-length header, LuaSocket sends the data in the chunked transfer coding; however, it doesn't set the transfer-encoding header. While I recognize that the user can set this manually, this is a gotcha that has caught me multiple times. RFC7230, section 3.3.3 (https://tools.ietf.org/html/rfc7230#section-3.3.3) is clear about this; if neither content-length nor transfer-encoding chunked are specified, the request message body length is zero. While some servers may ignore this, I have encountered several that follow the RFC in this regard, most recently golang's net/http. | ||||
| * | src/ltn12.lua: remove duplicated codes | david | 2022-03-21 | 1 | -3/+3 |
| | | |||||
| * | Merge pull request #354 from lunarmodules/linter | Caleb Maclennan | 2022-03-19 | 6 | -35/+24 |
| |\ | |||||
| | * | refactor: Address issues raised by linter | Thijs Schreijer | 2022-03-19 | 6 | -35/+24 |
| | | | |||||
| * | | style: Use C-style comment syntax throughout (#309) | Caleb Maclennan | 2022-03-18 | 4 | -37/+38 |
| |/ | | | | | Co-authored-by: Denise Cullassnekuff <19711487+BlackCutpoint@users.noreply.github.com> | ||||
| * | Fixe an issue with aux buffer init overwriting optional parameters in ↵ | Paul Kulchenko | 2022-03-18 | 1 | -1/+4 |
| | | | | | | | | | | receive() (#334) Fixes use on Lua >= 5.4.3 | ||||
| * | src/makefile: remove -DLUASOCKET_INET_PTON as current mingw builds don't want it | E. Westbrook | 2020-03-28 | 1 | -1/+1 |
| | | |||||
| * | wrap visibility pragmas in #ifndef _WIN32 | E. Westbrook | 2019-03-10 | 16 | -17/+56 |
| | | |||||
| * | src/makefile: serial += compat | E. Westbrook | 2019-03-10 | 1 | -0/+1 |
| | | |||||
| * | usocket: pragma visibility | E. Westbrook | 2019-03-10 | 2 | -51/+57 |
| | | |||||
| * | unixstream: pragma visibility | E. Westbrook | 2019-03-10 | 2 | -5/+5 |
| | | |||||
| * | unixdgram: pragma visibility | E. Westbrook | 2019-03-10 | 2 | -5/+6 |
| | | |||||
| * | unix: include reorg | E. Westbrook | 2019-03-10 | 2 | -4/+0 |
| | | |||||
| * | udp: pragma visibility | E. Westbrook | 2019-03-10 | 2 | -6/+6 |
| | | |||||
| * | timeout: pragma visibility | E. Westbrook | 2019-03-10 | 2 | -19/+30 |
| | | |||||
| * | tcp: pragma visibility | E. Westbrook | 2019-03-10 | 2 | -7/+6 |
| | | |||||
| * | socket.h: pragma visibility | E. Westbrook | 2019-03-10 | 1 | -30/+21 |
| | | |||||
| * | serial.c: pragma visibiliity | E. Westbrook | 2019-03-10 | 1 | -5/+2 |
| | | |||||
| * | select: pragma visibility | E. Westbrook | 2019-03-10 | 2 | -9/+5 |
| | | |||||
| * | options: pragma visibility | E. Westbrook | 2019-03-10 | 2 | -105/+145 |
| | | |||||
| * | mime: include reorg | E. Westbrook | 2019-03-10 | 2 | -7/+2 |
| | | |||||
| * | luasocket: include centralization | E. Westbrook | 2019-03-10 | 2 | -19/+4 |
| | | |||||
| * | io: pragma visibility | E. Westbrook | 2019-03-10 | 2 | -8/+7 |
| | | |||||
| * | inet: pragma visibility | E. Westbrook | 2019-03-10 | 2 | -31/+25 |
| | | |||||
| * | except: pragma visibility | E. Westbrook | 2019-03-10 | 2 | -9/+7 |
| | | |||||
| * | compat: pragma visibility | E. Westbrook | 2019-03-10 | 2 | -9/+14 |
| | | |||||
| * | buffer: pragma visibility | E. Westbrook | 2019-03-10 | 2 | -16/+14 |
| | | |||||
| * | auxiliar: pragma visibility | E. Westbrook | 2019-03-10 | 2 | -22/+20 |
| | | |||||
| * | Fix formatting. | Diego Nehab | 2019-03-10 | 1 | -3/+3 |
| | | |||||
| * | Use static initialization | Diego Nehab | 2019-03-09 | 2 | -10/+145 |
| | | | | | | | | This helps with multi-threaded apps. | ||||
| * | Update Windows projects vor Visual Studio 2017 | Diego Nehab | 2019-03-01 | 1 | -7/+43 |
| | | |||||
| * | bugfix: http.lua multischeme change that got dropped during PR conflict ↵ | E. Westbrook | 2019-02-28 | 1 | -4/+2 |
| | | | | | | | | resolution | ||||
| * | Only use EAI_OVERFLOW, AI_NUMERICSERV if defined | Mojca Miklavec | 2019-02-26 | 2 | -1/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Some systems like Mac OS X 10.5 (and lower) do not have EAI_OVERFLOW and AI_NUMERICSERV defined. These variables are used to avoid a potentially slow name resolution for the hostname (which will always be an ip address) and for service name (which will always be an actual port number). The code might be slower, but it should still work. Closes: #242 | ||||
| * | src/makefile: remove visibility and dllexport defines in favor of in-source ↵ | E. Westbrook | 2019-02-25 | 1 | -27/+12 |
| | | | | | | | | labeling | ||||
| * | usocket.c: use LUASOCKET_PRIVATE | E. Westbrook | 2019-02-25 | 1 | -24/+26 |
| | | |||||
| * | usocket.c use LUASOCKET_PRIVATE | E. Westbrook | 2019-02-25 | 1 | -28/+30 |
| | |