Update tfo-go

This commit is contained in:
世界
2023-08-16 17:47:24 +08:00
parent 53a0bf2d11
commit 5c5c25e3ad
16 changed files with 131 additions and 39 deletions

View File

@@ -0,0 +1,15 @@
//go:build !go1.20
package inbound
import (
"context"
"net"
"os"
)
const go120Available = false
func listenTFO(listenConfig net.ListenConfig, ctx context.Context, network string, address string) (net.Listener, error) {
return nil, os.ErrInvalid
}