Improve darwin tun performance
This commit is contained in:
parent
7812930a48
commit
aa1fd4d994
16 changed files with 192 additions and 115 deletions
|
|
@ -2,6 +2,7 @@ package tun
|
|||
|
||||
import (
|
||||
"errors"
|
||||
"net"
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
|
|
@ -31,3 +32,7 @@ func fixWindowsFirewall() error {
|
|||
func retryableListenError(err error) bool {
|
||||
return errors.Is(err, windows.WSAEADDRNOTAVAIL)
|
||||
}
|
||||
|
||||
func acceptConn(conn net.Conn) error {
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue