Commit Graph

779 Commits

Author SHA1 Message Date
Caleb Maclennan
e863315729 chore: Draft v3 release notes 2022-03-25 10:59:23 +03:00
Caleb Maclennan
b5b60f9d6f chore: Refactor existing news file as a changelog 2022-03-25 10:59:23 +03:00
Caleb Maclennan
e47d98f401
Merge pull request #356 from lunarmodules/test-builds 2022-03-24 18:15:42 +03:00
Caleb Maclennan
bac0b8dc27
ci: Use reusable workflow for luarocks deploy 2022-03-24 18:14:43 +03:00
Caleb Maclennan
2de8ddfbb8
Merge remote-tracking branch 'upstream/master' into test-builds 2022-03-24 18:11:07 +03:00
Caleb Maclennan
5ed8b66e6d
ci: Utilize new upstream Luacheck Action (#367) 2022-03-24 13:22:31 +01:00
Thijs Schreijer
78d2cbfdee
Merge pull request #366 from lunarmodules/54 2022-03-23 17:17:49 +01:00
Thijs Schreijer
d9c08114da chore; add Lua 5.4 to make files 2022-03-23 17:11:43 +01:00
Thijs Schreijer
58f94e47d2
Update LICENSE to be recognizable as MIT (#363) 2022-03-23 15:12:49 +03:00
Thijs Schreijer
af0ddb6ea8
Merge pull request #361 from lunarmodules/docs 2022-03-23 07:55:45 +01:00
Caleb Maclennan
2eac895039
Update URL references to source repository 2022-03-23 00:16:23 +03:00
Caleb Maclennan
f98977b2da
Move doc→docs so we can serve it with GitHub Pages 2022-03-23 00:11:24 +03:00
Thijs Schreijer
c1eacfa6d2
fix(docs) references to some constants added (#359) 2022-03-22 21:24:38 +03:00
Thijs Schreijer
f97dc8489d
fix(docs) fix html linter issues in the docs (#358) 2022-03-22 21:21:58 +03:00
Caleb Maclennan
f9e1d03f3c
ci: Don't bother doing user-local install in ephemeral runner 2022-03-22 15:53:22 +03:00
Caleb Maclennan
52c72694c2
ci: Disable unsupported Windows and avoid duplicate runs 2022-03-22 15:53:22 +03:00
Caleb Maclennan
9787c17e58
ci: Expand test matrix to cover Windows and macOS 2022-03-22 15:53:22 +03:00
Caleb Maclennan
fdd741da5c
Ci: Run regression tests after successful build 2022-03-22 15:53:21 +03:00
Thijs Schreijer
d3434c0198
Merge pull request #318 from tokenrove/transfer-encoding-chunked 2022-03-22 09:39:02 +01:00
Julian Squires
2a76cb906c http.lua: set transfer-encoding if source and no content-length
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.
2022-03-22 09:38:14 +01:00
Thijs Schreijer
e178b1e018
Update URLs in (and to) SCM rockspec, start an epoch #355 2022-03-22 09:34:30 +01:00
Thijs Schreijer
642433e771
Merge pull request #275 from ewestbrook/vcxproj-mime-socket 2022-03-22 09:30:25 +01:00
E. Westbrook
e3c17b002a Add src\compat.c to mime.vcxproj and socket.vcxproj 2022-03-22 09:29:04 +01:00
Thijs Schreijer
b57ca9bfa3
Merge pull request #351 from jyoui/patch-1 2022-03-21 11:08:48 +01:00
david
46ecb7e2dc src/ltn12.lua: remove duplicated codes 2022-03-21 11:07:26 +01:00
Caleb Maclennan
2cc6f8a55c
ci: Add workflow to confirm build completes 2022-03-19 21:05:22 +03:00
Caleb Maclennan
844165ff89
ci: Drop obsolete Travis configs 2022-03-19 18:24:15 +03:00
Caleb Maclennan
91aa6522a0
chore: Drop rockspec for never-published RC2 release 2022-03-19 18:20:52 +03:00
Caleb Maclennan
335f647075
chore: Add current most recent rockspec as published 2022-03-19 18:20:05 +03:00
Caleb Maclennan
36428e07cd
chore: Rename rockspec dir to be plural 2022-03-19 18:01:53 +03:00
Caleb Maclennan
d0f2d132bf
chore: Move SCM rockspec to root and bump rockrel to 3 2022-03-19 18:01:53 +03:00
Caleb Maclennan
a36818d3f3
Merge pull request #354 from lunarmodules/linter 2022-03-19 17:42:53 +03:00
Caleb Maclennan
8390d07774
chore: Bump Lua version used in linter 2022-03-19 17:34:28 +03:00
Caleb Maclennan
989a5b1131
chore: Include luacheck config in editorconfig setup 2022-03-19 17:28:25 +03:00
Thijs Schreijer
601ad8d59f
refactor: Address issues raised by linter 2022-03-19 17:13:15 +03:00
Thijs Schreijer
480c052572
ci: Add workflow to run luacheck linter 2022-03-19 17:13:15 +03:00
Thijs Schreijer
f6509d4fd5
chore: Add luacheck linter project configuration 2022-03-19 17:13:15 +03:00
Thijs Schreijer
52b22da7e3
chore: Add editorconfig setup file 2022-03-19 17:05:43 +03:00
Caleb Maclennan
6952262e6a
style: Use C-style comment syntax throughout (#309)
Co-authored-by: Denise Cullassnekuff <19711487+BlackCutpoint@users.noreply.github.com>
2022-03-18 17:54:11 +03:00
Paul Kulchenko
d9cc531e3b
Fixe an issue with aux buffer init overwriting optional parameters in receive() (#334)
Fixes use on Lua >= 5.4.3
2022-03-18 12:23:09 +03:00
E. Westbrook
5b18e475f3 test/find-connect-limit: add missing "socket =" 2020-03-28 22:21:23 +00:00
E. Westbrook
743a5f1bcf test/udp-zero-length-send-recv: add missing "socket ="; use shebang "#!/usr/bin/env lua" 2020-03-28 22:21:23 +00:00
E. Westbrook
a7baf8dc25 test/udp-zero-length-send: add missing "socket ="; use shebang "#!/usr/bin/env lua" 2020-03-28 22:21:23 +00:00
E. Westbrook
c8b4fdf858 test/getoptions: guard calls with pcall(); check result of getoption"linger" 2020-03-28 22:21:23 +00:00
E. Westbrook
84e5336e8b test/tcp-getoptions: bugfix: missing "socket =" in require"socket" 2020-03-28 22:21:23 +00:00
E. Westbrook
78a1657c7d src/makefile: remove -DLUASOCKET_INET_PTON as current mingw builds don't want it 2020-03-28 16:46:49 +00:00
Diego Nehab
733af884f1
Merge pull request #280 from ewestbrook/rockspec-scm
SCM rockspec housekeeping
2019-04-22 00:27:05 -03:00
E. Westbrook
ab3b0ef5c9 rockspec/luasocket-scm-2.rockspec 2019-04-21 09:41:17 -06:00
E. Westbrook
9acb6dc81a move SCM rockspec to rockspec folder; rename consistent with luarocks repository 2019-04-21 09:31:08 -06:00
Diego Nehab
c89a931cc3
Merge pull request #271 from ewestbrook/pragmavisibility
Use visibility pragma around declarations instead of attributes on definitions
2019-03-11 00:08:41 -03:00