mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-20 14:02:38 +02:00
merge fixes from 1.12.5
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user