5 Commits

Author SHA1 Message Date
David Crawshaw
b0e2f4a4e4 libtailscale: make tailscale_listener pollable
Use a socketpair(2) and sendmsg/recvmsg to pass a connection fd
from Go to C. This lets people write non-blocking C by polling on a
tailscale_listener for when they should tailscale_accept.

Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
2023-03-18 15:04:28 -07:00
David Crawshaw
843d93cb63 libtailscale: update tailscale_loopback
This brings it inline with the tsnet change to support proxies.

Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
2023-03-06 11:58:20 -08:00
James Tucker
7bb5e96b97 ruby: add initial support for making local API requests 2023-03-03 16:57:51 -08:00
James Tucker
2b8dc03747 ruby: remove unnecessary artifacts from distribution 2023-03-03 16:57:51 -08:00
James Tucker
775ee41f1d ruby: add a gem that wraps the library 2023-03-02 11:07:17 -08:00