Merge pull request #39222 from azat/fix-http-session

Do not report "Failed communicating with" on and on for parts exchange
This commit is contained in:
Alexey Milovidov 2022-07-31 02:24:05 +03:00 committed by GitHub
commit 22bc89690d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -255,10 +255,13 @@ namespace
{
session->reset();
session->setHost(ip);
session->attachSessionData({});
}
}
}
/// Reset the message, once it has been printed,
/// otherwise you will get report for failed parts on and on,
/// even for different tables (since they uses the same session).
session->attachSessionData({});
}
setTimeouts(*session, timeouts);