merge fixes from 1.12.5

This commit is contained in:
Günter Obiltschnig
2023-10-03 21:31:27 +02:00
parent 419433cf39
commit fdb7ffc1a7
3 changed files with 19 additions and 9 deletions

View File

@@ -363,6 +363,11 @@ void TCPServerTest::testReuseSession()
assertTrue (srv.totalConnections() == 1);
Session::Ptr pSession = ss1.currentSession();
if (!pSession || !pSession->isResumable())
{
std::cerr << "WARNING: Server did not return a session or session is not resumable. Aborting test." << std::endl;
return;
}
ss1.close();
Thread::sleep(300);