diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-04 16:00:14 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-04 16:00:14 +0100 |
commit | de16089822abd364dbe73b1f7ebd45dd185934b4 (patch) | |
tree | 2eb63b8905943338669e31613019f74c47d9f229 /src/libutil/http.h | |
parent | feef96256730fd94afe3ea4e5d51db9763f2e535 (diff) | |
download | rspamd-de16089822abd364dbe73b1f7ebd45dd185934b4.tar.gz rspamd-de16089822abd364dbe73b1f7ebd45dd185934b4.zip |
[Fix] Restore multiple values in headers processing
Diffstat (limited to 'src/libutil/http.h')
-rw-r--r-- | src/libutil/http.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libutil/http.h b/src/libutil/http.h index 9dc6302c9..399141e60 100644 --- a/src/libutil/http.h +++ b/src/libutil/http.h @@ -376,6 +376,16 @@ const rspamd_ftok_t * rspamd_http_message_find_header ( const gchar *name); /** + * Search for a header that has multiple values + * @param msg + * @param name + * @return list of rspamd_ftok_t * with values + */ +GPtrArray* rspamd_http_message_find_header_multiple ( + struct rspamd_http_message *msg, + const gchar *name); + +/** * Remove specific header from a message * @param msg * @param name |