[CLEANUP] move remaining stats sockets code to dumpstats
The remains of the stats socket code has nothing to do in proto_uxst
anymore and must move to dumpstats. The code is much cleaner and more
structured. It was also an opportunity to rename AN_REQ_UNIX_STATS
as AN_REQ_STATS_SOCK as the stats socket is no longer unix-specific
either.
The last item refering to stats in proto_uxst is the setting of the
task's nice value which should in fact come from the listener.
diff --git a/include/common/defaults.h b/include/common/defaults.h
index f0873cf..966ef4f 100644
--- a/include/common/defaults.h
+++ b/include/common/defaults.h
@@ -64,8 +64,8 @@
// max # args on a configuration line
#define MAX_LINE_ARGS 64
-// max # args on a uxts socket
-#define MAX_UXST_ARGS 16
+// max # args on a stats socket
+#define MAX_STATS_ARGS 16
// max # of added headers per request
#define MAX_NEWHDR 10