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 16, 2019
1 parent 43f34b5 commit a29f926
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/XrdCl/XrdClXRootDTransport.cc
Expand Up @@ -865,9 +865,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 a29f926

Please sign in to comment.