mirror of
https://github.com/nais/wonderwall.git
synced 2026-08-23 21:16:14 +00:00
feat(http): propagate traceparent for httpclient
Co-authored-by: tronghn <trong.huu.nguyen@nav.no>
This commit is contained in:
co-authored by
tronghn
parent
bf83a58795
commit
ca77435d6a
@@ -14,7 +14,6 @@ import (
|
||||
"github.com/nais/wonderwall/pkg/handler/acr"
|
||||
"github.com/nais/wonderwall/pkg/handler/autologin"
|
||||
mw "github.com/nais/wonderwall/pkg/middleware"
|
||||
"github.com/nais/wonderwall/pkg/server"
|
||||
"github.com/nais/wonderwall/pkg/session"
|
||||
"github.com/nais/wonderwall/pkg/url"
|
||||
)
|
||||
@@ -76,7 +75,7 @@ func NewReverseProxy(upstream *urllib.URL, preserveInboundHostHeader bool) *Reve
|
||||
r.Out.Header.Set("X-Wonderwall-Id-Token", idToken)
|
||||
}
|
||||
},
|
||||
Transport: server.DefaultTransport(),
|
||||
Transport: httpinternal.Transport(),
|
||||
}
|
||||
return &ReverseProxy{
|
||||
ReverseProxy: rp,
|
||||
|
||||
Reference in New Issue
Block a user