Add TID_REQ_COUNT handler
[trust_router.git] / tid / tids.c
index 2e5dbea..7975ddc 100644 (file)
@@ -389,6 +389,8 @@ int tids_accept(TIDS_INSTANCE *tids, int listen)
     return 1;
   }
 
+  tids->req_count++; /* increment this in both processes after forking */
+
   if (pid == 0) {
     close(listen);
     tr_gss_handle_connection(conn,