Try the timeout

This commit is contained in:
Nate Brown
2025-04-16 17:11:11 -05:00
parent 012fcf40fe
commit bc62f5ec82
3 changed files with 196 additions and 198 deletions

View File

@@ -6,6 +6,7 @@ import (
"fmt"
"io"
"net/netip"
"runtime"
"sync"
"sync/atomic"
"time"
@@ -261,6 +262,7 @@ func (f *Interface) run() (func(), error) {
}
func (f *Interface) listenOut(i int) {
runtime.LockOSThread()
var li udp.Conn
if i > 0 {
li = f.writers[i]