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 7, 2019
1 parent 225f0ba commit 3db27f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/XrdCl/XrdClXRootDTransport.cc
Expand Up @@ -796,7 +796,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 3db27f9

Please sign in to comment.