You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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));