mirror of
https://github.com/infinite-iroha/touka.git
synced 2026-06-13 15:47:38 +08:00
fix(reverseproxy): bridge websocket extended connect upstreams
This commit is contained in:
parent
919236665b
commit
a9c1662333
5 changed files with 508 additions and 99 deletions
|
|
@ -57,7 +57,10 @@ type reverseProxyUpstream struct {
|
|||
key string
|
||||
target *url.URL
|
||||
index int
|
||||
useH2C bool
|
||||
extendedConnectTransport http.RoundTripper
|
||||
bridgeTransport http.RoundTripper
|
||||
h2cTransport http.RoundTripper
|
||||
inFlight atomic.Int64
|
||||
|
||||
passiveMu sync.Mutex
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue