Skip to content

Commit

Permalink
[XrdCl] Don't create separate data sptream if roots/xroots is used.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Oct 7, 2019
1 parent 0ff47ca commit 725d5d6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/XrdCl/XrdClXRootDTransport.cc
Expand Up @@ -796,9 +796,11 @@ namespace XrdCl



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

0 comments on commit 725d5d6

Please sign in to comment.