From c71d13caac58c9b17fccb3b00357db66066d4bb6 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 22 Apr 2010 10:44:09 +0200 Subject: [PATCH] http_session_destroy: dont wait for active clients Because we have introduced client locking, each client owned by a session will be notified that the session is gone. --- src/http_command.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/http_command.c b/src/http_command.c index eecf63d..9b1825d 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -142,11 +142,6 @@ void http_session_destroy(struct http_session *s) if (s->destroy_counter != s->activity_counter) must_destroy = 0; - /* only if there are no active Z39.50 clients we will allow it to be - destroyed */ - if (session_active_clients(s->psession)) - must_destroy = 0; - s->destroy_counter = s->activity_counter = 0; if (must_destroy) { -- 1.7.10.4