Added log when active clients on http_session_destroy
authorDennis Schafroth <dennis@indexdata.com>
Wed, 10 Mar 2010 08:27:32 +0000 (09:27 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 22 Mar 2010 12:12:19 +0000 (13:12 +0100)
src/http_command.c

index 6e80a52..eecf63d 100644 (file)
@@ -166,6 +166,10 @@ void http_session_destroy(struct http_session *s)
         destroy_session(s->psession);
         nmem_destroy(s->nmem);
     }
+    else {
+        yaz_log(YLOG_LOG, "Active clients on session %u. Waiting for new timeout.", s->session_id);
+    }
+
 }
 
 static const char *get_msg(enum pazpar2_error_code code)