X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fhttp_command.c;h=9b1825d0eae7ce03f04048d8fa1967b8fab456a9;hb=e6d6362b750ae25591ee5a40e135878fd590e13e;hp=eecf63d5e3dea05ab8d0802dafa9264038e5468e;hpb=144068bf7bf38aa31c41445a563a3d8cf6a9eda4;p=pazpar2-moved-to-github.git 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) {