The embedded TPC client gets the source address from
the tpc.src URI in the opaque string query of the path.
This URI may contain the username prefix '@', which
needs to be parsed out. Currently the presence of
the uname is not being handled, causing failure to
connect.
Modification:
Strip away the uname prefix from the URI before using
it as endpoint hostname.
Result:
Giving dCache a source URL with username expressed for
TPC succeeds.
Motivation:
The embedded TPC client gets the source address from the tpc.src URI in the opaque string query of the path. This URI may contain the username prefix '@', which
needs to be parsed out. Currently the presence of
the uname is not being handled, causing failure to
connect.
Modification:
Strip away the uname prefix from the URI before using it as endpoint hostname.
Result:
Giving dCache a source URL with username expressed for TPC succeeds.
Target: master Request: 3.5 Request: 3.4 Patch: https://rb.dcache.org/r/12225/ Acked-by: Dmitry