]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: htx: Add proto_htx.c file
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 11 Oct 2018 13:55:07 +0000 (15:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 18 Nov 2018 20:45:48 +0000 (21:45 +0100)
This file is empty for now. But it will be used to add new versions of the HTTP
analyzers based on the internal representation of HTTP messages (not implemented
yet but called HTX).

Makefile
src/proto_htx.c [new file with mode: 0644]

index 965d89d66c3518adbe5443af5b27d5b1c304deab..bb7471068487af100f3303540d4f1fa5a52862a4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -923,7 +923,7 @@ OBJS = src/proto_http.o src/cfgparse.o src/server.o src/stream.o        \
        src/protocol.o src/lru.o src/hdr_idx.o src/hpack-huff.o          \
        src/mailers.o src/h2.o src/base64.o src/hash.o src/http.o       \
        src/http_acl.o src/http_fetch.o src/http_conv.o src/http_act.o   \
-       src/http_rules.o src/proto_sockpair.o
+       src/http_rules.o src/proto_sockpair.o src/proto_htx.o
 
 EBTREE_OBJS = $(EBTREE_DIR)/ebtree.o $(EBTREE_DIR)/eb32sctree.o \
               $(EBTREE_DIR)/eb32tree.o $(EBTREE_DIR)/eb64tree.o \
diff --git a/src/proto_htx.c b/src/proto_htx.c
new file mode 100644 (file)
index 0000000..ec29cbc
--- /dev/null
@@ -0,0 +1,24 @@
+/*
+ * HTTP protocol analyzer
+ *
+ * Copyright (C) 2018 HAProxy Technologies, Christopher Faulet <cfaulet@haproxy.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version
+ * 2 of the License, or (at your option) any later version.
+ *
+ */
+
+__attribute__((constructor))
+static void __htx_protocol_init(void)
+{
+}
+
+
+/*
+ * Local variables:
+ *  c-indent-level: 8
+ *  c-basic-offset: 8
+ * End:
+ */