Bilal2453
2e5ecb776a
process: respecting deprecation on getpid
2022-05-02 22:32:40 +08:00
Bilal2453
404145004f
thread: fix thread.equals
2022-05-02 10:21:28 +08:00
zhaozg
3f328ad928
Update root certificates in tls module
2022-01-20 11:30:24 +08:00
Ryan Liptak
b7d2715442
Merge pull request #1171 from luvit/release-2.18.1
...
Release luvit v2.18.1
2021-11-18 15:58:41 -08:00
Tim Caswell
8e5a6aca15
Release luvit v2.18.1
2021-11-17 20:04:15 -06:00
Ryan Liptak
e322bf5b8e
Merge pull request #1170 from luvit/update-certs
...
Update root certificates in tls module
2021-11-17 17:14:19 -08:00
Tim Caswell
786f6ef7b4
Update root certificates in tls module
2021-11-17 19:05:22 -06:00
George Zhao
2530814152
Merge pull request #1159 from truemedian/master
...
fix main thread tracebacks
2021-09-09 08:54:11 +08:00
Nameless
eef62e622a
fix main thread tracebacks
2021-09-08 16:33:46 -05:00
George Zhao
3f41ab5c3e
Merge pull request #1155 from leXinshou/master
...
Merge pull request #1142 , HTTP CODEC
2021-08-29 14:00:45 +08:00
Xinshou
cc55965385
Added nil safety reason
2021-08-29 11:25:50 +06:00
Tim Caswell
9841bc17aa
Merge pull request #1142 from luvit/release-v2.18.0
...
Release Luvit v2.18.0
2021-06-28 07:41:12 -05:00
Tim Caswell
a1426f08f4
Release Prep for Luvit v2.18.0
2021-06-27 07:07:26 -05:00
Tim Caswell
3c064b5556
Merge pull request #1149 from squeek502/test-dns-linux-hotfix
...
test-dns: Quick fix for resolveTxt test on Linux
2021-06-27 06:57:49 -05:00
Ryan Liptak
ef12b3360c
test-dns: Quick fix for resolveTxt test on Linux
...
Still not totally sure why this test was failing, but this should fix it until we understand more about it.
See #1148
2021-06-26 11:20:36 -07:00
Tim Caswell
dcddc2edad
Merge pull request #1145 from squeek502/freenode-readme
...
Remove freenode badge from readme
2021-06-25 19:56:14 -05:00
Tim Caswell
3848ea0786
Merge pull request #1146 from squeek502/github-actions
...
Add very basic GitHub Actions workflow, remove travis
2021-06-25 19:50:53 -05:00
Tim Caswell
b76d16f65d
Merge pull request #1147 from squeek502/tls-server-verify-test
...
Fix test-tls-server-verify by removing -tls1 arg
2021-06-25 19:49:32 -05:00
Ryan Liptak
bb2abc7fc9
Fix test-tls-server-verify by removing -tls1 arg
...
The node test never had this as far as I can tell, and it seems to be causing problems with recent openssl versions. The error this was causing was also being caused retroactively--even running this test with older luvit versions would fail even though they used to pass (the test it kinda weird since it calls the system installed openssl binary)
Node test for reference: f4d0a6a07b/test/parallel/test-tls-server-verify.js (L144)
Closes #1037
2021-06-25 17:36:43 -07:00
Ryan Liptak
1b6cd83a4d
Remove travis CI now that travis-ci.org is gone
2021-06-25 17:10:51 -07:00
Ryan Liptak
f909ba8b4f
Add basic Github Actions workflow
...
Differences to the travis-ci.org CI:
- No gdb backtraces
- No coveralls support
These can be added back in later
Contributes towards #1141
2021-06-25 17:10:19 -07:00
Ryan Liptak
631b4d4b8c
Remove freenode badge from readme
...
Continuation of https://github.com/luvit/luvit/pull/1138 , this badge was just missed
2021-06-25 16:49:02 -07:00
Tim Caswell
03c262873d
Merge pull request #1144 from squeek502/test-colors-consistency
...
Fix test-colors not being deterministic
2021-06-25 18:12:45 -05:00
Ryan Liptak
3aaad40868
Fix test-colors not being deterministic
...
Previously was relying on consistent iteration order in dump, which can't be relied on
2021-06-25 16:01:58 -07:00
Tim Caswell
a8ba48fab1
Merge pull request #1143 from squeek502/querystring-test-fix
...
Fix querystring stringify test being non-deterministic
2021-06-25 17:46:15 -05:00
Ryan Liptak
f7c6936b3a
Fix querystring stringify test being non-deterministic
...
Happened to be consistent with previous LuaJIT versions, but was relying on iteration order of pairs which is not actually consistent
2021-06-25 14:52:37 -07:00
Tim Caswell
55766b6625
Merge pull request #1139 from truemedian/master
...
Wrap main in a coroutine
2021-06-25 15:56:40 -05:00
Tim Caswell
3027eb324f
Merge pull request #1140 from luvit/release-v2.17.1
...
Bump deps for updates and luvit 2.17.1
2021-06-25 15:41:52 -05:00
Tim Caswell
18f0acbedd
Bump deps for updates and luvit 2.17.1
2021-06-25 11:42:19 -05:00
Nameless
b46ef85271
wrap main in a coroutine
2021-06-03 14:32:36 -05:00
Ryan Phillips
5114bc6dbf
Remove Freenode and add Discord link ( #1138 )
2021-05-20 16:16:31 -05:00
Ryan Liptak
f31d24397f
Merge pull request #1126 from TSnake41/stream-readable-localize
...
Localize p in stream_readable.lua.
2020-11-27 17:06:50 -08:00
Astie Teddy
71fb031c02
Localize p in stream_readable.lua.
2020-11-28 00:20:10 +01:00
SinisterRectus
32237af6f6
Merge pull request #1124 from luvit/assert-resume
...
Adds and uses utils.assertResume
2020-10-07 11:17:56 -04:00
SinisterRectus
b47c9bd854
Adds utils.assertResume
2020-10-03 10:11:02 -04:00
Ryan Liptak
2c9414f484
Merge pull request #1120 from squeek502/openssl-1.1.0-fix
...
tls: Fix for OpenSSL 1.1.0
2020-05-14 01:47:05 -07:00
Ryan Liptak
a7ff0d2f15
tls: Fix for OpenSSL 1.1.0
...
Same fix as https://github.com/luvit/lit/pull/272 but for the Luvit tls package
What was happening is that the OpenSSL version gets incremented with each patch version, so 1.1.0 would be 0x1010000f while 1.1.0a would be 0x1010001f, so the > 0x10100000 check was unintentionally passing for all 1.1.0 versions except 1.1.0-dev. It should be checking for >= 1.1.1 instead, which is when TLSv1.3 support was added to OpenSSL (https://www.openssl.org/news/openssl-1.1.1-notes.html )
2020-05-14 01:41:42 -07:00
George Zhao
788e0fb20b
Merge pull request #1119 from zhaozg/master
...
fix luvit handle args
2020-05-09 16:11:21 +08:00
zhaozg
186cab7ff2
fix luvit handle args
...
introduce in 9146ae5b3c
2020-05-09 15:11:54 +08:00
George Zhao
5ff72a52fa
Merge pull request #1085 from luvitred/master
...
http: ignore upgrade header when no upgrade listener is present
2020-05-05 09:39:04 +08:00
Ryan Liptak
974e37b857
Merge pull request #1117 from squeek502/signal-listeners
...
Signal removeListener fixes
2020-05-04 11:53:32 -07:00
Ryan Liptak
2d539cc458
test-process: cleanup 'signal usr1,usr2,hup' test
2020-05-04 02:02:11 -07:00
Ryan Liptak
fb9738af90
process: Fix signals being closed before all their listeners are removed
...
Before this, calling removeListener would unconditionally close the signal, even if there were other listeners still listening for that signal type. Now, the signal will only be closed once there are no listeners left.
Also fixes removeListener not being called on the expect-wrapped functions in test-process
2020-05-04 01:55:26 -07:00
Ryan Liptak
8d289863ae
core: Make Emitter:removeListener return the number of removed handlers
2020-05-04 01:55:26 -07:00
George Zhao
3142663f9f
Merge pull request #1112 from zhaozg/simplify_emitter
...
fix and simplify code for Emitter:listeners
2020-05-04 15:38:03 +08:00
zhaozg
546599ba84
simplify the logic of Emitter:listeners
2020-05-04 14:55:12 +08:00
George Zhao
b0dc3aa5be
Merge pull request #1115 from zhaozg/fix/tty-write
...
make console/tty write safe
2020-05-04 13:19:28 +08:00
George Zhao
9a24467e80
Merge pull request #1114 from zhaozg/fix/test-process
...
fix test-process, make sure signal handled
2020-05-04 13:18:47 +08:00
Ryan Liptak
74d9bf43e2
test-process: add comment about signal unreffing
2020-05-03 20:43:38 -07:00
George Zhao
f8f4f87992
Merge pull request #1116 from zhaozg/feature/network
...
Add Socket:buffer_size api
2020-05-04 10:05:12 +08:00