Skip to content

Commit

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

//------------------------------------------------------------------------
// 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 we have some IP addresses left we try them
//------------------------------------------------------------------------
if( !pAddresses.empty() && status.code != errTlsError )
if( !pAddresses.empty() )
{
XRootDStatus st;
do
Expand Down

0 comments on commit b2e0d91

Please sign in to comment.