Browse Source

XHTTP client: Allow different paths in U-D-S (#3977)

pull/3979/head
RPRX 2 weeks ago committed by GitHub
parent
commit
6877ca5201
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      transport/internet/splithttp/dialer.go

2
transport/internet/splithttp/dialer.go

@ -275,7 +275,7 @@ func Dial(ctx context.Context, dest net.Destination, streamSettings *internet.Me
if requestURL2.Host == "" {
requestURL2.Host = memory2.Destination.NetAddr()
}
requestURL2.Path = requestURL.Path // the same
requestURL2.Path = config2.GetNormalizedPath() + sessionIdUuid.String()
requestURL2.RawQuery = config2.GetNormalizedQuery()
}

Loading…
Cancel
Save