您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

shutdown.patch 392B

1234567891011121314
  1. --- exim4-4.86.2.orig/src/spam.c
  2. +++ exim4-4.86.2/src/spam.c
  3. @@ -499,7 +499,10 @@ if (ferror(mbox_file))
  4. (void)fclose(mbox_file);
  5. /* we're done sending, close socket for writing */
  6. -shutdown(spamd_sock,SHUT_WR);
  7. +if (!sd->is_rspamd)
  8. + {
  9. + shutdown(spamd_sock,SHUT_WR);
  10. + }
  11. /* read spamd response using what's left of the timeout. */
  12. memset(spamd_buffer, 0, sizeof(spamd_buffer));