diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-09-08 18:42:24 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-09-08 18:42:24 +0100 |
commit | 896e9ed7313db70acd5085405ca796cdcd56d32e (patch) | |
tree | ec84001a72766a3600b4cbd440b1ab6dbd103cdb /src | |
parent | f0a3d6ea56ac3f76202eca114a7088c785aaf58f (diff) | |
download | rspamd-896e9ed7313db70acd5085405ca796cdcd56d32e.tar.gz rspamd-896e9ed7313db70acd5085405ca796cdcd56d32e.zip |
[Minor] Small fixes to compressed requests
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/task.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libserver/task.c b/src/libserver/task.c index 6c4547db5..f24ee0858 100644 --- a/src/libserver/task.c +++ b/src/libserver/task.c @@ -531,7 +531,11 @@ rspamd_task_load_message (struct rspamd_task *task, rspamd_mempool_add_destructor (task->task_pool, g_free, zout.dst); task->msg.begin = zout.dst; task->msg.len = zout.pos; - task->flags = RSPAMD_TASK_FLAG_COMPRESSED; + task->flags |= RSPAMD_TASK_FLAG_COMPRESSED; + + msg_info_task ("loaded message from zstd compressed stream; " + "compressed: %ul; uncompressed: %ul", + (gulong)zin.size, (gulong)zout.pos); } else { |