luvit
luvit copied to clipboard
Lua + libUV + jIT = pure awesomesauce
# Issue High memory consumption in examples/http-server.lua with keep-alive connections # Steps to reproduce 1. Run `luvit http-server.lua` 2. Run `ab -k -c 100 -t 20 http://127.0.0.1:8080/` 3. Look at...
I have a completely normal net server on Linux, it's fine until you get flooded with small messages and have a callback for data. For reference the other side just...
https://github.com/q962/luvit/commit/feb3610b67474cf947794f7d55d3c2701882ab9b Can't get errors like port occupied etc. I don't understand why the error is not known until listen . Shouldn't the bind function get the error?
https://github.com/luvit/luvit/blob/c15b46a2ec9dd7c7e4c958c96c792d7028e4e95e/deps/http.lua#L133 ``` date: äº, 11 4æ 2025 14:51:53 GMT ```
Hi I'm encountering an error when trying to run tests using the `tap` test framework within a Luvit application that's initialized using `return require('luvit')(...)`. Here's a simplified example of my...
Is there a reason for the [Appveyor](https://github.com/luvit/luvit/blob/master/appveyor.yml) workflow other than CI tests? If there isn't then it should be removed so we don't get 2 CI instances running, for example...
https://github.com/luvit/luvit/blob/3105550bc358723c055b379b85c848be7286e2db/deps/pretty-print.lua#L355-L355 This usage appears in libuv's test code. But it is preceded by an assertion. https://github.com/libuv/libuv/blob/1b084f7bbe4ae6d90e06600d789126f3b37941d8/test/test-stdio-over-pipes.c#L225-L240 On Linux this does not throw an error. Everything runs fine. But on Windows...
I'm not necessarily looking for any fixes here, but I figured I'd document this issue for posterity. Our JSON module, [dkjson](https://dkolf.de/dkjson-lua/), uses `__jsontype` metatable fields to indicate whether a decoded...
See the following comments for context: https://github.com/luvit/luvit/issues/1019#issuecomment-354388815, https://github.com/luvit/luvit/issues/1019#issuecomment-3172841940
Update dkjson from 2.5 to 2.8. Most notably in this support for Lua 5.3/5.4 has been added. Surprisingly, this module hasn't had a sync with upstream in more than 10...