diff --git a/Makefile b/Makefile index 965d89d66c..bb74710684 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 0000000000..ec29cbcb0b --- /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: + */