aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/http.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-10 14:32:46 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-10 14:32:46 +0100
commit42acc1f6bb3e8f4ba967bbedc73ab7e6f043518b (patch)
tree10456ab198ae78a34ee52c19b69b99d6da3e03c8 /src/libutil/http.h
parent2672f82d536eeed406c6c9882d972ac24e458cf3 (diff)
downloadrspamd-42acc1f6bb3e8f4ba967bbedc73ab7e6f043518b.tar.gz
rspamd-42acc1f6bb3e8f4ba967bbedc73ab7e6f043518b.zip
[Feature] Store HTTP headers in a hash table
Diffstat (limited to 'src/libutil/http.h')
-rw-r--r--src/libutil/http.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libutil/http.h b/src/libutil/http.h
index 1d4e0f886..59567b10a 100644
--- a/src/libutil/http.h
+++ b/src/libutil/http.h
@@ -28,6 +28,7 @@
#include "keypair.h"
#include "keypairs_cache.h"
#include "fstring.h"
+#include "uthash.h"
enum rspamd_http_connection_type {
RSPAMD_HTTP_SERVER,
@@ -41,7 +42,7 @@ struct rspamd_http_header {
rspamd_ftok_t *name;
rspamd_ftok_t *value;
rspamd_fstring_t *combined;
- struct rspamd_http_header *next, *prev;
+ UT_hash_handle hh;
};
/**