X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=exim-spam-timeout.patch;h=67eb22a9ae06c8707e9f4308d5e146f5a4ae13c4;hb=54364455dfb8fbbe18cc9d5002f416d3e757ae95;hp=8940909de1a747d668d57a6231740cc804433437;hpb=82ab074f7e07766ca117ab38c7b7f1f730d51841;p=packages%2Fexim.git diff --git a/exim-spam-timeout.patch b/exim-spam-timeout.patch index 8940909..67eb22a 100644 --- a/exim-spam-timeout.patch +++ b/exim-spam-timeout.patch @@ -1,12 +1,12 @@ -diff -urN exim-4.62.org/src/spam.c exim-4.62/src/spam.c ---- exim-4.62.org/src/spam.c 2006-04-28 12:32:23.000000000 +0200 -+++ exim-4.62/src/spam.c 2006-06-08 10:20:26.000000000 +0200 -@@ -147,7 +147,7 @@ - AF_INET, - spamd_address_vector[current_server]->tcp_addr, - spamd_address_vector[current_server]->tcp_port, -- 5 ) > -1) { -+ 15 ) > -1) { - /* connection OK */ - break; - }; +--- exim-4.86/src/spam.c~ 2015-07-23 23:20:37.000000000 +0200 ++++ exim-4.86/src/spam.c 2015-07-29 10:41:57.918864020 +0200 +@@ -344,7 +344,7 @@ start = time(NULL); + for (;;) + { + /*XXX could potentially use TFO early-data here */ +- if ( (spamd_cctx.sock = ip_streamsocket(sd->hostspec, &errstr, 5, NULL)) >= 0 ++ if ( (spamd_cctx.sock = ip_streamsocket(sd->hostspec, &errstr, 15, NULL)) >= 0 + || sd->retry <= 0 + ) + break; +