]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[MINOR] add an analyser code for UNIX stats request
authorWilly Tarreau <w@1wt.eu>
Sun, 7 Dec 2008 10:28:08 +0000 (11:28 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 7 Dec 2008 10:28:08 +0000 (11:28 +0100)
The UNIX stats socket will be analysed like any other protocol. Add
an analyser for it.

include/types/buffers.h

index 99b6d59042a8e0ed09580125ce864af10e6bbf14..665c75d79d007d2483d31e4f541d87f0ed5f283d 100644 (file)
@@ -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.
 #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 {