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)
committerDennis Schafroth <dennis@indexdata.com>
Wed, 10 Mar 2010 08:27:32 +0000 (09:27 +0100)
src/http_command.c

index c800b62..8fe1a92 100644 (file)
@@ -162,6 +162,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)