From: Christopher Faulet Date: Thu, 11 Oct 2018 13:55:07 +0000 (+0200) Subject: MINOR: htx: Add proto_htx.c file X-Git-Tag: v1.9-dev7~80 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=f4eb75d177e64a53c1bad2d9f5dbe7217d0c4c2b;p=haproxy.git MINOR: htx: Add proto_htx.c file 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). --- diff --git a/Makefile b/Makefile index 965d89d66..bb7471068 100644 --- 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 index 000000000..ec29cbcb0 --- /dev/null +++ b/src/proto_htx.c @@ -0,0 +1,24 @@ +/* + * HTTP protocol analyzer + * + * Copyright (C) 2018 HAProxy Technologies, Christopher Faulet + * + * 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: + */