git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix DKIM information leakage
[exim.git]
/
src
/
src
/
spam.c
diff --git
a/src/src/spam.c
b/src/src/spam.c
index f46e11e42391d7005d412b42afa73a87f4db4bb5..93c0a540d732e447103a6c3e658b8ed449fada0e 100644
(file)
--- a/
src/src/spam.c
+++ b/
src/src/spam.c
@@
-494,7
+494,8
@@
if (ferror(mbox_file))
(void)fclose(mbox_file);
/* we're done sending, close socket for writing */
(void)fclose(mbox_file);
/* we're done sending, close socket for writing */
-shutdown(spamd_sock,SHUT_WR);
+if (!sd->is_rspamd)
+ shutdown(spamd_sock,SHUT_WR);
/* read spamd response using what's left of the timeout. */
memset(spamd_buffer, 0, sizeof(spamd_buffer));
/* read spamd response using what's left of the timeout. */
memset(spamd_buffer, 0, sizeof(spamd_buffer));