]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[CLEANUP] move remaining stats sockets code to dumpstats
authorWilly Tarreau <w@1wt.eu>
Sun, 16 Aug 2009 17:06:42 +0000 (19:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 16 Aug 2009 17:35:36 +0000 (19:35 +0200)
commit5ca791da8d292fb377b6c0eed70f8c2b100a1ddc
treea4e0fceb4528717868a2b04670bda8b75bc385de
parent8e13d7492dfd1029599fad1d722fcb9db01898a0
[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.
include/common/defaults.h
include/proto/dumpstats.h
include/types/buffers.h
src/dumpstats.c
src/proto_uxst.c
src/session.c