cqueues
cqueues copied to clipboard
Continuation Queues: Embeddable asynchronous networking, threading, and notification framework for Lua on Unix.
When I build cqueues via `luarocks-5.3 install cqueues` and `make` on OpenBSD, it fails to compile: ``` /tmp/luarocks_cqueues-20200726.53-0-rAyaSK/cqueues-rel-20200726/src/lib/socket.c:188:12: error: incomplete definition of type 'struct ssl_st' return ssl->server != NULL; ~~~^...
Fix the following build failure with libressl >= 3.5.0: ``` /nvmedata/autobuild/instance-26/output-1/build/lua-cqueues-20200726/src/lib/socket.c: In function 'compat_SSL_is_server': /nvmedata/autobuild/instance-26/output-1/build/lua-cqueues-20200726/src/lib/socket.c:188:12: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'} 188 | return ssl->server !=...
luaL_dofile error: error loading module '_cqueues' from file './local/cqueues/lib/5.4/_cqueues.so': ./local/cqueues/lib/5.4/_cqueues.so: undefined symbol: CRYPTO_set_locking_callback
This is an example from the documentation, with a snippet from daurnimator's lua-http library, and is the minimal code needed to reproduce the issue I'm seeing in my application. ```lua...
Could you please consider adding support for some more secure and lightweight TLS implementation, such as mbed TLS (formerly PolarSSL)?
I've been mulling over how hard adding windows support to cqueues would be. Lower level windows programming is not something I'm familar with, so please correct any incorrect assumptions I've...
When you have a `:read()` going on in one coroutine, and `:close()` the socket in another, `:read()` will throw an error: ``` /usr/local/share/lua/5.1/cqueues/socket.lua:397: calling 'recv' on bad self (socket closed)...
cqueues on Debian on aarch64 explodes with error: ``` /usr/bin/luajit -l cqueues -e os.exit(0) ``` Full build log: https://buildd.debian.org/status/fetch.php?pkg=knot-resolver&arch=arm64&ver=5.1.2-1&stamp=1596037546&raw=0 This is probably related to some LuaJIT limitations on aarch64 but...
Occasionally I receive mystical errors from cqueues: ``` error: attempt to call a userdata value stack traceback: [C]: in function 'poll' /usr/share/lua/5.1/cqueues.lua:62: in function 'sleep' /usr/lib/knot-resolver/kres_modules/prometheus.lua:91: in function ``` This...
Dear William, Please, consider removing the /debian directory (at least from the release tarballs). Unfortunately, it conflicts with debian, and the lua-cqueues tarball has to be repacked to remove that...