Commit Graph

829 Commits

Author SHA1 Message Date
9c7beb7060 Merge c44d18bfb7 into fa69770e52 2023-11-26 20:40:55 +01:00
fa69770e52 fix(http): Use the right protocol for proxies (#386) 2023-11-23 08:01:29 +03:00
13f2b3c663 fix(http): Correct receiveheaders() handling of folded values (#420) 2023-11-13 23:33:26 +03:00
453a5207ed style(docs): Trim trailing whitespace in HTML docs
Many editors remove these automatically anyway which makes opening and
editng the docs cause a bunch of noise. This is just to get the noise
out of the way in a style commit so it doesn't leak into other PRs
2023-11-11 08:07:38 +03:00
c44d18bfb7 Rockspec: Add usocket.c using platform ifdefs. 2023-11-11 12:03:47 +08:00
6bd096d90b Update rockspec. 2023-11-11 11:12:24 +08:00
02d062d965 Update Windows build systems. 2023-11-11 11:12:24 +08:00
fe2c59b53a Include "unixdef.h" instead of <sys/un.h> 2023-11-11 11:12:24 +08:00
5dd6a2cb14 Add simple header wrapper that provides sockaddr_un. 2023-11-11 11:12:24 +08:00
de359ea408 chore(core): Update version markers to last released version
Closes #401
2023-11-11 00:48:02 +03:00
c93f9154e1 feat(rockspec): Ship mbox parser with LuaRocks, already packaged in some distros
Closes #324
2023-11-11 00:44:22 +03:00
8a5368b659 Merge pull request #418 from alerque/url-empty-path 2023-11-09 14:11:33 +03:00
22b8202d70 fix(wsocket): Properly report CONNRESET (#81) 2023-11-09 14:00:09 +03:00
3a817a56eb fix(url): Avoid fragment being part of authority, allows parsing empty paths 2023-11-08 23:27:58 +03:00
7eaf648056 fix(url): Avoid query string being part of authority, allows parsing empty paths 2023-11-08 14:50:43 +03:00
bef62aeb50 fix(inet): Return port as number in getsockname (#392) 2023-11-08 14:29:06 +03:00
43a97b7f00 ci: Update Luacheck to v1+, use newer Ubuntu runner images 2023-11-08 13:14:04 +03:00
64c9d531df ci: Identify CI jobs better and skip irrelevant platform specific steps 2023-11-08 13:08:10 +03:00
0f37af645c Merge pull request #415 from leso-kn/feature/actions-windows 2023-10-30 22:04:00 +03:00
9c6195ea62 ci: Enable windows build 2023-10-27 19:31:18 +02:00
708e50f8e6 refactor(core): Replace check for SO_BINDTODEVICE support with platform independent version 2023-10-27 11:34:39 +02:00
0bc8c56043 fix(core): Disable SO_BINDTODEVICE on windows
Co-authored-by: Sewbacca <sebastian.kalus@kolabnow.com>
2023-10-27 09:59:26 +03:00
f741a88b80 feat(tcp): Add 'bindtodevice' option (#408) 2023-10-23 21:27:01 +03:00
9100f7e3ab docs: Fixup badge URLs with current GH API 2023-10-17 09:07:25 +03:00
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
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
48164b572e Merge branch 'zhaozg/master' 2022-08-30 13:17:21 +03:00
159890c366 style(usocket): Remove trailing space at EOL 2022-08-30 13:16:38 +03:00
88c72acd77 fix(usocket): Fix typo in return value function name 2022-08-30 13:15:53 +03:00
30ddf0eaea style(core) Remove lingering c-style comment (#388) 2022-08-27 21:31:54 +03:00
87c48f3e4d Merge pull request #364 from lunarmodules/cleanup 2022-08-24 12:31:18 +02:00
95b7efa9da chore: Release v3.1.0 v3.1.0 2022-07-27 10:07:00 +03:00
80503077db ci: Echo correct platform in job title 2022-07-27 09:55:54 +03:00
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
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
0c7df119c2 feat(tcp): Add support for TCP Fast Open 2022-07-27 09:16:43 +03:00
cff09ffb32 chore(rockspec): Move recent PR change to proper rockspec (#384) 2022-07-26 23:39:17 +03:00
38c7b5161b fix(rockspec): Fixup Windows (mingw32) builds (#383) 2022-07-26 23:24:25 +03:00
97d5194f30 chore(ltn) rename files to markdown 2022-03-29 14:10:30 +02:00
db2f1c9598 chore(ltn) update file contents from wiki to markdown 2022-03-29 14:09:10 +02:00
3adf252b45 cleanup; move FIX, TODO, WISH into TODO.md 2022-03-29 13:33:00 +02:00
86de838eb5 cleanup; move ./etc into ./samples and mark 'unsupported' 2022-03-29 13:33:00 +02:00
7187be8b76 cleanup; delete the ./gem folder 2022-03-29 13:33:00 +02:00
0fc0122df8 cleanup; move logo file into docs, more appropriate 2022-03-29 13:33:00 +02:00
ec7d7a2b8f cleanup; delete unreferenced powerpoint file from docs 2022-03-29 13:33:00 +02:00
1d61853ab8 chore: Update internal version references to match release (#370) 2022-03-28 11:53:32 +00:00
88c8a85cb6 chore: Release v3.0.0 v3.0.0 2022-03-25 11:05:48 +03:00
020c2c746b chore: Copy-edit description in dev rockspec 2022-03-25 10:59:23 +03:00
f7f0a77a3d docs: Drop obsolete changelog from docs index 2022-03-25 10:59:23 +03:00
d3777f9d06 chore: Start a Markdown era readme 2022-03-25 10:59:23 +03:00