Skip to content

Commit

Permalink
[XrdCl] Correctly detect stream will goto TLS.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Oct 16, 2019
1 parent 0bb78a3 commit 9ec7774
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/XrdCl/XrdClXRootDTransport.cc
Expand Up @@ -865,7 +865,9 @@ namespace XrdCl



if( (info->serverFlags & kXR_gotoTLS ) && !( info->serverFlags & kXR_tlsData ) )
if( ( ( info->serverFlags & kXR_gotoTLS ) ||
( info->serverFlags & kXR_tlsLogin ) ||
( info->serverFlags & kXR_tlsSess ) ) && !( info->serverFlags & kXR_tlsData ) )
{
//------------------------------------------------------------------------
// The server asked us to encrypt stream 0, but to send the data (read/write)
Expand Down

0 comments on commit 9ec7774

Please sign in to comment.