commit b17f6c2: [Fix] Fix http message flag shift

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Aug 31 13:28:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-08-31 14:25:12 +0100
URL: https://github.com/rspamd/rspamd/commit/b17f6c211391d8892e04b402528acf2efc2fa81a (HEAD -> master)

[Fix] Fix http message flag shift
Issue: #3872

---
 src/libserver/http/http_connection.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libserver/http/http_connection.h b/src/libserver/http/http_connection.h
index b6b199fae..896f83c20 100644
--- a/src/libserver/http/http_connection.h
+++ b/src/libserver/http/http_connection.h
@@ -82,7 +82,7 @@ struct rspamd_storage_shmem {
 /**
  * Body has been set for a message
  */
-#define RSPAMD_HTTP_FLAG_HAS_HOST_HEADER (1 << 6)
+#define RSPAMD_HTTP_FLAG_HAS_HOST_HEADER (1 << 7)
 /**
  * Options for HTTP connection
  */


More information about the Commits mailing list