LOG_DEBUG(http_logger, isc::log::DBGLVL_TRACE_DETAIL,
HTTP_IDLE_CONNECTION_TIMEOUT_OCCURRED)
.arg(getRemoteEndpointAddressAsText());
+ // In theory we should shutdown first and stop/close after but
+ // it is better to put the connection management responsabilty
+ // on the client... so simply drop idle connections.
stopThisConnection();
}
}
// Test that idle connection can be resumed for second request.
-TEST_F(HttpsClientTest, DISABLED_idleConnection) {
+TEST_F(HttpsClientTest, idleConnection) {
ASSERT_NO_FATAL_FAILURE(testIdleConnection());
}
// Test that idle connection can be resumed for second request.
-TEST_F(HttpsClientTest, DISABLED_idleConnectionMultiThreading) {
+TEST_F(HttpsClientTest, idleConnectionMultiThreading) {
MultiThreadingMgr::instance().setMode(true);
ASSERT_NO_FATAL_FAILURE(testIdleConnection());
}