update tfo to v2

This commit is contained in:
gVisor bot 2022-11-14 12:11:54 +08:00
parent 3e862bfe99
commit 6e720744a7
5 changed files with 6 additions and 4 deletions

2
go.mod
View file

@ -5,7 +5,6 @@ go 1.19
require (
github.com/cilium/ebpf v0.9.3
github.com/coreos/go-iptables v0.6.0
github.com/database64128/tfo-go v1.1.2
github.com/dlclark/regexp2 v1.7.0
github.com/go-chi/chi/v5 v5.0.7
github.com/go-chi/cors v1.2.1
@ -49,6 +48,7 @@ replace github.com/sagernet/sing-tun => github.com/MetaCubeX/sing-tun v0.0.0-202
require (
github.com/ajg/form v1.5.1 // indirect
github.com/database64128/tfo-go/v2 v2.0.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fsnotify/fsnotify v1.5.4 // indirect
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 // indirect

2
go.sum
View file

@ -13,6 +13,8 @@ github.com/coreos/go-iptables v0.6.0 h1:is9qnZMPYjLd8LYqmm/qlE+wwEgJIkTYdhV3rfZo
github.com/coreos/go-iptables v0.6.0/go.mod h1:Qe8Bv2Xik5FyTXwgIbLAnv2sWSBmvWdFETJConOQ//Q=
github.com/database64128/tfo-go v1.1.2 h1:GwxtJp09BdUTVEoeT421t231eNZoGOCRkklbl4WI1kU=
github.com/database64128/tfo-go v1.1.2/go.mod h1:jgrSUPyOvTGQyn6irCOpk7L2W/q/0VLZZcovQiMi+bI=
github.com/database64128/tfo-go/v2 v2.0.2 h1:5rGgkJeLEKlNaqredfrPQNLnctn1b+1fq/8tdKdOzJg=
github.com/database64128/tfo-go/v2 v2.0.2/go.mod h1:FDdt4JaAsRU66wsYHxSVytYimPkKIHupVsxM+5DhvjY=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=

View file

@ -2,7 +2,7 @@ package http
import (
"context"
"github.com/database64128/tfo-go"
"github.com/database64128/tfo-go/v2"
"net"
"github.com/Dreamacro/clash/common/cache"

View file

@ -2,7 +2,7 @@ package mixed
import (
"context"
"github.com/database64128/tfo-go"
"github.com/database64128/tfo-go/v2"
"net"
"github.com/Dreamacro/clash/common/cache"

View file

@ -2,7 +2,7 @@ package socks
import (
"context"
"github.com/database64128/tfo-go"
"github.com/database64128/tfo-go/v2"
"io"
"net"