Skip to content

Commit

Permalink
[XrdCl] Make sure TLS is off when a new physical connection is establ…
Browse files Browse the repository at this point in the history
…ished.
  • Loading branch information
simonmichal committed Jun 22, 2020
1 parent f0ee743 commit d4556fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/XrdCl/XrdClSocket.cc
Expand Up @@ -216,6 +216,11 @@ namespace XrdCl

pServerAddr = addr;

//--------------------------------------------------------------------------
// Make sure TLS is off when the physical connection is newly established
//--------------------------------------------------------------------------
pTls.reset();

//--------------------------------------------------------------------------
// Connect
//--------------------------------------------------------------------------
Expand Down

0 comments on commit d4556fe

Please sign in to comment.