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).
This commit is contained in:
Christopher Faulet 2018-10-11 15:55:07 +02:00 committed by Willy Tarreau
parent c6618d6835
commit f4eb75d177
2 changed files with 25 additions and 1 deletions

View File

@ -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/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/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_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_OBJS = $(EBTREE_DIR)/ebtree.o $(EBTREE_DIR)/eb32sctree.o \
$(EBTREE_DIR)/eb32tree.o $(EBTREE_DIR)/eb64tree.o \ $(EBTREE_DIR)/eb32tree.o $(EBTREE_DIR)/eb64tree.o \

24
src/proto_htx.c Normal file
View File

@ -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:
*/