fancy blocking writes

wait for goroutines to finish and for tun to actually be closed

remove yellow squiggles

nbio for tun

bugz

Remove more os.Exit calls and give a more reliable wait for stop function

checkpt

tun_linux.go: stdlib too slow, but can't use blocking IO and clean shutdown
This commit is contained in:
JackDoan
2026-04-15 17:45:50 -05:00
parent 8c71f2f3f9
commit 6ee5e18d84

View File

@@ -6,7 +6,6 @@ import (
"net/netip" "net/netip"
"os" "os"
"os/signal" "os/signal"
"sync"
"syscall" "syscall"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"