jnthn / p6-io-socket-async-ssl

Asynchronous TLS sockets in Raku
11 stars 19 forks source link

Add backlog parameter to the listen method #75

Closed patrickbkr closed 2 months ago

patrickbkr commented 2 months ago

Backlog is a TCP protocol parameter determining how many unaccepted connections the kernel will keep in a queue before refusing new connections. IO::Socket::Async already supported the parameter, so only forwarding the parameter was necessary.

I believe this is the last bit of ground work for the IO::Socket::SSL look-alike on top of IO::Socket::Async::SSL that I'm working on. I named it IO::Socket::TLSViaAsync. It's mostly done, but not on the ecosystem yet.

Also, once this is merged, can you make a release allowing me to use this (and the other already merged PR).

patrickbkr commented 2 months ago

Wow. That was fast. Thank you!