Skip to content

Commit

Permalink
[XrdCl] Don't recover TLS error at diffrent IP address.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Jun 18, 2020
1 parent b727fb1 commit 4e0994e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/XrdCl/XrdClStream.cc
Expand Up @@ -689,9 +689,11 @@ namespace XrdCl
"seconds.", pStreamName.c_str(), elapsed, pConnectionWindow );

//------------------------------------------------------------------------
// If we have some IP addresses left we try them
// If we have some IP addresses left we try them,
// unless it is a TLS error (in this case the error is not due to the
// physical address but for example due to hostname verification)
//------------------------------------------------------------------------
if( !pAddresses.empty() )
if( !pAddresses.empty() && status.code != errTlsError )
{
XRootDStatus st;
do
Expand Down

0 comments on commit 4e0994e

Please sign in to comment.