From 70cb633e2c384da06d9e827d84a68ac8a38d5953 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 7 Dec 2008 11:28:08 +0100 Subject: [PATCH] [MINOR] add an analyser code for UNIX stats request The UNIX stats socket will be analysed like any other protocol. Add an analyser for it. --- include/types/buffers.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/types/buffers.h b/include/types/buffers.h index 99b6d5904..665c75d79 100644 --- a/include/types/buffers.h +++ b/include/types/buffers.h @@ -98,7 +98,7 @@ /* Analysers (buffer->analysers). * Those bits indicate that there are some processing to do on the buffer - * contents. It will probably evolved into a linked list later. Those + * contents. It will probably evolve into a linked list later. Those * analysers could be compared to higher level processors. * The field is blanked by buffer_init() and only by analysers themselves * afterwards. @@ -108,6 +108,7 @@ #define AN_REQ_HTTP_BODY 0x00000004 /* inspect HTTP request body */ #define AN_REQ_HTTP_TARPIT 0x00000008 /* wait for end of HTTP tarpit */ #define AN_RTR_HTTP_HDR 0x00000010 /* inspect HTTP response headers */ +#define AN_REQ_UNIX_STATS 0x00000020 /* process unix stats socket request */ /* describes a chunk of string */ struct chunk {