Skip to content

Commit 1fe34b1

Browse files
committed
mod: rmv quic-go for now
1 parent e2b0c30 commit 1fe34b1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

go.mod

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ require (
2020
github.com/cloudflare/circl v1.3.3
2121
github.com/crazy-max/xgo v0.17.0
2222
github.com/elazarl/goproxy v0.0.0-20221015165544-a0805db90819
23-
github.com/quic-go/quic-go v0.36.1
2423
github.com/txthinking/socks5 v0.0.0-20220615051428-39268faee3e6
2524
github.com/txthinking/x v0.0.0-20210326105829-476fab902fbe
2625
golang.org/x/mobile v0.0.0-20220518205345-8578da9835fd

intra/ipn/piph2.go

+6-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import (
3030
"github.com/celzero/firestack/intra/protect"
3131
"github.com/celzero/firestack/intra/settings"
3232
"github.com/celzero/firestack/intra/split"
33-
"github.com/quic-go/quic-go/http3"
3433
"golang.org/x/net/http2"
3534
)
3635

@@ -239,7 +238,12 @@ func NewPipProxy(id string, ctl protect.Controller, po *settings.ProxyOptions) (
239238
}
240239

241240
if trType == "h3" {
242-
t.client.Transport = &http3.RoundTripper{}
241+
// github.com/quic-go/quic-go v0.36.1
242+
// t.client.Transport = &http3.RoundTripper{}
243+
log.W("piph2: h3 not supported yet")
244+
t.client.Transport = &http2.Transport{
245+
DialTLS: t.dialtls,
246+
}
243247
} else if trType == "h2" {
244248
// h2 is duplex: github.com/golang/go/issues/19653#issuecomment-341539160
245249
t.client.Transport = &http2.Transport{

0 commit comments

Comments
 (0)