ipn/ipnlocal: initiate proxy transport once (#9883)
Initiates http/h2c transport for userspace proxy backend lazily and at most once. Updates tailscale/tailscale#9725 Signed-off-by: Irbe Krumina <irbe@tailscale.com>
This commit is contained in:
@ -614,6 +614,9 @@ func Test_isGRPCContentType(t *testing.T) {
|
||||
"foobar": {
|
||||
contentType: "foobar",
|
||||
},
|
||||
"no content type": {
|
||||
contentType: "",
|
||||
},
|
||||
}
|
||||
for name, scenario := range tests {
|
||||
t.Run(name, func(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user