diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-07 12:21:34 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-07 12:21:34 +0100 |
commit | 77637fb1386a760e3c1d7d6f57cab2d773245c70 (patch) | |
tree | 4cf4f91f72f2ab5134123edf470177c7b98b19a4 /src/rspamd_proxy.c | |
parent | 2eb9f5304f4f0b06798214f2840f57c9bd908843 (diff) | |
download | rspamd-77637fb1386a760e3c1d7d6f57cab2d773245c70.tar.gz rspamd-77637fb1386a760e3c1d7d6f57cab2d773245c70.zip |
[Fix] Fix proxying of the encrypted messages
Diffstat (limited to 'src/rspamd_proxy.c')
-rw-r--r-- | src/rspamd_proxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c index b46bf410b..ac9e1f41a 100644 --- a/src/rspamd_proxy.c +++ b/src/rspamd_proxy.c @@ -821,7 +821,7 @@ proxy_backend_mirror_finish_handler (struct rspamd_http_connection *conn, session = bk_conn->s; if (!proxy_backend_parse_results (session, bk_conn, session->ctx->lua_state, - -1, msg->body->str, msg->body->len)) { + -1, msg->body_buf.begin, msg->body_buf.len)) { msg_warn_session ("cannot parse results from the mirror backend %s", bk_conn->name); } @@ -945,7 +945,7 @@ proxy_backend_master_finish_handler (struct rspamd_http_connection *conn, &session->ctx->io_tv, session->ctx->ev_base); if (!proxy_backend_parse_results (session, bk_conn, session->ctx->lua_state, - -1, msg->body->str, msg->body->len)) { + -1, msg->body_buf.begin, msg->body_buf.len)) { msg_warn_session ("cannot parse results from the master backend"); } |