-
When dealing with network protocols, you often need to set up a series of streams.
e.g. recv off tcp => un framing => zlib.
If the fifo code was exposed directly, users could use cqueues fifos in bet…
-
Currently cqueues has it's own compat52.h, is there a reason that https://github.com/hishamhm/lua-compat-5.2 isn't used?
They're usually pretty open to any adding functions/features if there is somet…
-
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 made.
I…
-
please and thank you
ghost updated
3 years ago
-
``` lua
local cs = require "cqueues.socket"
local c, s = cs.pair()
assert(c:xwrite("foo\nbar\n", "n"))
c:close()
assert(s:read() == "foo")
print(s:eof("r"))
```
> true
Is this intentional? If so, I …
-
Avoid using `luaL_check*` and `luaL_opt*` functions on non-arguments, as the error messages use the stack index.
e.g:
``` lua
cs=require "cqueues.socket";
u=cs.listen({})
```
> lua: stdin:2: bad ar…
-
@leafo luasocket is compatible with ipv6 by using [socket.tcp6()](https://aiq0.github.io/luasocket/tcp.html#socket.tcp6), but pgmoon only uses socket.tcp(). so could it be a future task to improve upp…
jzdwk updated
2 years ago
-
TLS False Start allows for less round trips to start an SSL connection
http://chimera.labs.oreilly.com/books/1230000000545/ch04.html#TLS_FALSE_START
It's supported by all major browsers as long as A…
-
- `lso_connect2` only allocates a `sockaddr_un`: any extra characters are silently discarded
- `so_dial` only allocates a `sockaddr_storage` (but uses a length of `sizeof (struct sockaddr_un)` vi…
-
Could you please consider adding support for some more secure and lightweight TLS implementation, such as mbed TLS (formerly PolarSSL)?