Commit Graph

810 Commits

Author SHA1 Message Date
leso-kn
9c6195ea62
ci: Enable windows build 2023-10-27 19:31:18 +02:00
leso-kn
708e50f8e6
refactor(core): Replace check for SO_BINDTODEVICE support with platform independent version 2023-10-27 11:34:39 +02:00
leso-kn
0bc8c56043
fix(core): Disable SO_BINDTODEVICE on windows
Co-authored-by: Sewbacca <sebastian.kalus@kolabnow.com>
2023-10-27 09:59:26 +03:00
Leso_KN
f741a88b80
feat(tcp): Add 'bindtodevice' option (#408) 2023-10-23 21:27:01 +03:00
Caleb Maclennan
9100f7e3ab
docs: Fixup badge URLs with current GH API 2023-10-17 09:07:25 +03:00
Henri D
8c2ff7217e
fix(http): Allow relative redirect on https (#395)
Location header can now be relative: https://httpwg.org/specs/rfc9110.html#field.location
2022-10-08 09:42:36 +03:00
Caleb Maclennan
26b524e1d7
Revert "fix(usocket): Fix typo in return value function name"
This reverts commit 88c72acd77.

See discussion on #390
2022-08-31 00:34:39 +03:00
Caleb Maclennan
48164b572e
Merge branch 'zhaozg/master' 2022-08-30 13:17:21 +03:00
zhaozg
159890c366
style(usocket): Remove trailing space at EOL 2022-08-30 13:16:38 +03:00
zhaozg
88c72acd77
fix(usocket): Fix typo in return value function name 2022-08-30 13:15:53 +03:00
George Zhao
30ddf0eaea
style(core) Remove lingering c-style comment (#388) 2022-08-27 21:31:54 +03:00
Thijs Schreijer
87c48f3e4d
Merge pull request #364 from lunarmodules/cleanup 2022-08-24 12:31:18 +02:00
Caleb Maclennan
95b7efa9da
chore: Release v3.1.0 2022-07-27 10:07:00 +03:00
Caleb Maclennan
80503077db
ci: Echo correct platform in job title 2022-07-27 09:55:54 +03:00
rpatters1
5a7e3f0888
fix(build): Use gai_strerrorA not gai_strerror on Windows
* 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>
2022-07-27 09:51:35 +03:00
Kim Alvefur
d1ad8160cb
feat(tcp): Add support for TCP Defer Accept
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>
2022-07-27 09:40:18 +03:00
Kim Alvefur
0c7df119c2
feat(tcp): Add support for TCP Fast Open 2022-07-27 09:16:43 +03:00
Caleb Maclennan
cff09ffb32
chore(rockspec): Move recent PR change to proper rockspec (#384) 2022-07-26 23:39:17 +03:00
goldenstein64
38c7b5161b
fix(rockspec): Fixup Windows (mingw32) builds (#383) 2022-07-26 23:24:25 +03:00
Thijs Schreijer
97d5194f30 chore(ltn) rename files to markdown 2022-03-29 14:10:30 +02:00
Thijs Schreijer
db2f1c9598 chore(ltn) update file contents from wiki to markdown 2022-03-29 14:09:10 +02:00
Thijs Schreijer
3adf252b45 cleanup; move FIX, TODO, WISH into TODO.md 2022-03-29 13:33:00 +02:00
Thijs Schreijer
86de838eb5 cleanup; move ./etc into ./samples and mark 'unsupported' 2022-03-29 13:33:00 +02:00
Thijs Schreijer
7187be8b76 cleanup; delete the ./gem folder 2022-03-29 13:33:00 +02:00
Thijs Schreijer
0fc0122df8 cleanup; move logo file into docs, more appropriate 2022-03-29 13:33:00 +02:00
Thijs Schreijer
ec7d7a2b8f cleanup; delete unreferenced powerpoint file from docs 2022-03-29 13:33:00 +02:00
Robert Scheck
1d61853ab8
chore: Update internal version references to match release (#370) 2022-03-28 11:53:32 +00:00
Caleb Maclennan
88c8a85cb6
chore: Release v3.0.0 2022-03-25 11:05:48 +03:00
Caleb Maclennan
020c2c746b chore: Copy-edit description in dev rockspec 2022-03-25 10:59:23 +03:00
Caleb Maclennan
f7f0a77a3d docs: Drop obsolete changelog from docs index 2022-03-25 10:59:23 +03:00
Caleb Maclennan
d3777f9d06 chore: Start a Markdown era readme 2022-03-25 10:59:23 +03:00
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