diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-10 14:32:46 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-10 14:32:46 +0100 |
commit | 42acc1f6bb3e8f4ba967bbedc73ab7e6f043518b (patch) | |
tree | 10456ab198ae78a34ee52c19b69b99d6da3e03c8 /src/libutil/http.h | |
parent | 2672f82d536eeed406c6c9882d972ac24e458cf3 (diff) | |
download | rspamd-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.h | 3 |
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; }; /** |