[exim-dev] [Bug 1802] Rspamd scan should not use shutdown ca…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Old-Topics: [exim-dev] [Bug 1802] New: Rspamd is scan should not use shutdown call
Subject: [exim-dev] [Bug 1802] Rspamd scan should not use shutdown call
https://bugs.exim.org/show_bug.cgi?id=1802

--- Comment #16 from Git Commit <git@???> ---
Git commit:
https://git.exim.org/exim.git/commitdiff/dd0b893238d03a9bb38e793f3d935272ed73da6d

commit dd0b893238d03a9bb38e793f3d935272ed73da6d
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sat Jun 16 14:45:40 2018 +0100
Commit:     Jeremy Harris <jgh146exb@???>
CommitDate: Tue Jun 26 12:02:27 2018 +0100


    Revert "Do not use shutdown() when talking to rspamd. Fixes 1802"


    This reverts commit 416a0be6df0697848ca551dd3243b652e763792d.
---
 src/src/spam.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/src/src/spam.c b/src/src/spam.c
index c9b3a02..95e5fc0 100644
--- a/src/src/spam.c
+++ b/src/src/spam.c
@@ -493,7 +493,7 @@ if (ferror(mbox_file))

/* we're done sending, close socket for writing */
if (!sd->is_rspamd)
- shutdown(spamd_cctx.sock,SHUT_WR);
+ shutdown(spamd_cctx.sock, SHUT_WR);

/* read spamd response using what's left of the timeout. */
memset(spamd_buffer, 0, sizeof(spamd_buffer));

--
You are receiving this mail because:
You are on the CC list for the bug.