diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-05-02 12:28:43 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-05-02 12:28:43 +0100 |
commit | de4532aba29f10943776f85ae625633eb8c8406f (patch) | |
tree | 701d001653ae5ff56164c713a98d4d25c1813cce /src/libserver/protocol.c | |
parent | e6ddee95a731f41a9cca17fe5082bfcda9623924 (diff) | |
download | rspamd-de4532aba29f10943776f85ae625633eb8c8406f.tar.gz rspamd-de4532aba29f10943776f85ae625633eb8c8406f.zip |
Handle HTTP headers during task processing.
Diffstat (limited to 'src/libserver/protocol.c')
-rw-r--r-- | src/libserver/protocol.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c index 8f42a08ce..df5e9723e 100644 --- a/src/libserver/protocol.c +++ b/src/libserver/protocol.c @@ -223,8 +223,9 @@ err: return FALSE; } -static gboolean -rspamd_protocol_handle_headers (struct rspamd_task *task, struct rspamd_http_message *msg) +gboolean +rspamd_protocol_handle_headers (struct rspamd_task *task, + struct rspamd_http_message *msg) { gchar *headern, *err, *tmp; gboolean res = TRUE; @@ -401,10 +402,6 @@ rspamd_protocol_handle_request (struct rspamd_task *task, ret = rspamd_protocol_handle_url (task, msg); } - if (ret) { - ret = rspamd_protocol_handle_headers (task, msg); - } - return ret; } |