commit aac1013: [Project] Fix flags header when dealing with milter connections
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Jul 18 15:14:09 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-07-18 15:36:56 +0100
URL: https://github.com/rspamd/rspamd/commit/aac1013122301ec3a6bb39264d90627c6c245518
[Project] Fix flags header when dealing with milter connections
---
src/libserver/milter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libserver/milter.c b/src/libserver/milter.c
index 50a84a42a..04fe8b882 100644
--- a/src/libserver/milter.c
+++ b/src/libserver/milter.c
@@ -1497,7 +1497,7 @@ rspamd_milter_to_http (struct rspamd_milter_session *session)
}
rspamd_milter_macro_http (session, msg);
- rspamd_http_message_add_header (msg, MILTER_HEADER, "Yes");
+ rspamd_http_message_add_header (msg, FLAGS_HEADER, "milter,body_block");
return msg;
}
More information about the Commits
mailing list