From: Willy Tarreau Date: Sun, 7 Dec 2008 10:28:08 +0000 (+0100) Subject: [MINOR] add an analyser code for UNIX stats request X-Git-Tag: v1.3.16-rc1~122 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=70cb633e2c384da06d9e827d84a68ac8a38d5953;p=thirdparty%2Fhaproxy.git [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. --- diff --git a/include/types/buffers.h b/include/types/buffers.h index 99b6d59042..665c75d79d 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 {