github.com/database64128/tfo-go/v2@v2.2.0/tfo_bsd.go (about) 1 //go:build darwin || freebsd 2 3 package tfo 4 5 func setTFODialerFromSocket(fd uintptr) error { 6 return setTFODialer(fd) 7 } 8 9 // doConnectCanFallback returns whether err from [doConnect] indicates lack of TFO support. 10 func doConnectCanFallback(err error) bool { 11 return false 12 }