Try the timeout

This commit is contained in:
Nate Brown
2025-04-16 17:11:11 -05:00
committed by JackDoan
parent 69bf8dadc6
commit 1f01a5543b
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"
@@ -269,6 +270,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]