ph10 2006/02/16 16:37:57 GMT
Modified files:
exim-doc/doc-txt ChangeLog
exim-src/src retry.c
Log:
A tweak to the "H" retry rule from Michael Haardt.
Revision Changes Path
1.306 +2 -0 exim/exim-doc/doc-txt/ChangeLog
1.8 +2 -1 exim/exim-src/src/retry.c
Index: ChangeLog
===================================================================
RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
retrieving revision 1.305
retrieving revision 1.306
diff -u -r1.305 -r1.306
--- ChangeLog 16 Feb 2006 14:54:15 -0000 1.305
+++ ChangeLog 16 Feb 2006 16:37:57 -0000 1.306
@@ -1,4 +1,4 @@
-$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.305 2006/02/16 14:54:15 ph10 Exp $
+$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.306 2006/02/16 16:37:57 ph10 Exp $
Change log file for Exim from version 4.21
-------------------------------------------
@@ -192,6 +192,8 @@
the different processes.
PH/38 Panic-die if .include specifies a non-absolute path.
+
+PH/39 A tweak to the "H" retry rule from its user.
Exim version 4.60
Index: retry.c
===================================================================
RCS file: /home/cvs/exim/exim-src/src/retry.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- retry.c 9 Feb 2006 14:50:58 -0000 1.7
+++ retry.c 16 Feb 2006 16:37:57 -0000 1.8
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/exim-src/src/retry.c,v 1.7 2006/02/09 14:50:58 ph10 Exp $ */
+/* $Cambridge: exim/exim-src/src/retry.c,v 1.8 2006/02/16 16:37:57 ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@ -798,7 +798,8 @@
{
next_try = now + rule->p1;
if (next_gap > rule->p1)
- next_try += random_number(next_gap - rule->p1);
+ next_try += random_number(next_gap - rule->p1)/2 +
+ (next_gap - rule->p1)/2;
}
}
}