aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-08-17 16:56:34 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-08-17 16:56:34 +0100
commit85808f5e8da889d9c9420094eb5f16b923be77eb (patch)
treeda26ddb9d7cfd158a8acb27ee8935eb0905954c6 /src/libserver/task.h
parent59b33944544ab47404bf72448bfc89ddc78991fe (diff)
downloadrspamd-85808f5e8da889d9c9420094eb5f16b923be77eb.tar.gz
rspamd-85808f5e8da889d9c9420094eb5f16b923be77eb.zip
Add support of custom request and reply headers.
Diffstat (limited to 'src/libserver/task.h')
-rw-r--r--src/libserver/task.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/task.h b/src/libserver/task.h
index d9ec9d8d2..84262af6f 100644
--- a/src/libserver/task.h
+++ b/src/libserver/task.h
@@ -91,6 +91,8 @@ struct rspamd_task {
gchar *user; /**< user to deliver */
gchar *subject; /**< subject (for non-mime) */
gchar *hostname; /**< hostname reported by MTA */
+ GHashTable *request_headers; /**< HTTP headers in a request */
+ GHashTable *reply_headers; /**< Custom reply headers */
GString *msg; /**< message buffer */
struct rspamd_http_connection *http_conn; /**< HTTP server connection */
struct rspamd_async_session * s; /**< async session object */