aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #318 from tokenrove/transfer-encoding-chunkedThijs Schreijer2022-03-221-0/+7
|\
| * http.lua: set transfer-encoding if source and no content-lengthJulian Squires2022-03-221-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.
* Update URLs in (and to) SCM rockspec, start an epoch #355 Thijs Schreijer2022-03-223-138/+112
|\
| * chore: Drop rockspec for never-published RC2 releaseCaleb Maclennan2022-03-191-134/+0
| |
| * chore: Add current most recent rockspec as publishedCaleb Maclennan2022-03-191-0/+108
| |
| * chore: Rename rockspec dir to be pluralCaleb Maclennan2022-03-191-0/+0
| |
| * chore: Move SCM rockspec to root and bump rockrel to 3Caleb Maclennan2022-03-191-4/+4
| |
* | Merge pull request #275 from ewestbrook/vcxproj-mime-socketThijs Schreijer2022-03-222-0/+2
|\ \
| * | Add src\compat.c to mime.vcxproj and socket.vcxprojE. Westbrook2022-03-222-0/+2
|/ /
* | Merge pull request #351 from jyoui/patch-1Thijs Schreijer2022-03-211-3/+3
|\ \ | |/ |/|
| * src/ltn12.lua: remove duplicated codesdavid2022-03-211-3/+3
|/
* Merge pull request #354 from lunarmodules/linterCaleb Maclennan2022-03-1924-198/+260
|\
| * chore: Bump Lua version used in linterCaleb Maclennan2022-03-191-16/+9
| |
| * chore: Include luacheck config in editorconfig setupCaleb Maclennan2022-03-192-5/+5
| |
| * refactor: Address issues raised by linterThijs Schreijer2022-03-1921-198/+187
| |
| * ci: Add workflow to run luacheck linterThijs Schreijer2022-03-191-0/+26
| |
| * chore: Add luacheck linter project configurationThijs Schreijer2022-03-191-0/+31
| |
| * chore: Add editorconfig setup fileThijs Schreijer2022-03-191-0/+23
| |
* | style: Use C-style comment syntax throughout (#309)Caleb Maclennan2022-03-184-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 Kulchenko2022-03-181-1/+4
| | | | | receive() (#334) Fixes use on Lua >= 5.4.3
* test/find-connect-limit: add missing "socket ="E. Westbrook2020-03-281-1/+1
|
* test/udp-zero-length-send-recv: add missing "socket ="; use shebang ↵E. Westbrook2020-03-281-2/+2
| | | | "#!/usr/bin/env lua"
* test/udp-zero-length-send: add missing "socket ="; use shebang ↵E. Westbrook2020-03-281-2/+2
| | | | "#!/usr/bin/env lua"
* test/getoptions: guard calls with pcall(); check result of getoption"linger"E. Westbrook2020-03-281-4/+18
|
* test/tcp-getoptions: bugfix: missing "socket =" in require"socket"E. Westbrook2020-03-281-1/+1
|
* src/makefile: remove -DLUASOCKET_INET_PTON as current mingw builds don't want itE. Westbrook2020-03-281-1/+1
|
* Merge pull request #280 from ewestbrook/rockspec-scmDiego Nehab2019-04-221-1/+1
|\ | | | | SCM rockspec housekeeping
| * rockspec/luasocket-scm-2.rockspecE. Westbrook2019-04-211-1/+1
| |
| * move SCM rockspec to rockspec folder; rename consistent with luarocks repositoryE. Westbrook2019-04-211-0/+0
|/
* Merge pull request #271 from ewestbrook/pragmavisibilityDiego Nehab2019-03-1139-369/+422
|\ | | | | Use visibility pragma around declarations instead of attributes on definitions
| * wrap visibility pragmas in #ifndef _WIN32E. Westbrook2019-03-1016-17/+56
| |
| * rockspecs: unix += compatE. Westbrook2019-03-102-0/+2
| |
| * rockspecs: serial += compatE. Westbrook2019-03-102-0/+2
| |
| * src/makefile: serial += compatE. Westbrook2019-03-101-0/+1
| |
| * usocket: pragma visibilityE. Westbrook2019-03-102-51/+57
| |
| * unixstream: pragma visibilityE. Westbrook2019-03-102-5/+5
| |
| * unixdgram: pragma visibilityE. Westbrook2019-03-102-5/+6
| |
| * unix: include reorgE. Westbrook2019-03-102-4/+0
| |
| * udp: pragma visibilityE. Westbrook2019-03-102-6/+6
| |
| * timeout: pragma visibilityE. Westbrook2019-03-102-19/+30
| |
| * tcp: pragma visibilityE. Westbrook2019-03-102-7/+6
| |
| * socket.h: pragma visibilityE. Westbrook2019-03-101-30/+21
| |
| * serial.c: pragma visibiliityE. Westbrook2019-03-101-5/+2
| |
| * select: pragma visibilityE. Westbrook2019-03-102-9/+5
| |
| * options: pragma visibilityE. Westbrook2019-03-102-105/+145
| |
| * mime: include reorgE. Westbrook2019-03-102-7/+2
| |
| * luasocket: include centralizationE. Westbrook2019-03-102-19/+4
| |
| * io: pragma visibilityE. Westbrook2019-03-102-8/+7
| |
| * inet: pragma visibilityE. Westbrook2019-03-102-31/+25
| |
| * except: pragma visibilityE. Westbrook2019-03-102-9/+7
| |