From 38417607aeb286ca686f00971d242fb59c409d69 Mon Sep 17 00:00:00 2001 From: Wietse Venema Date: Tue, 31 Jul 2007 00:00:00 -0500 Subject: [PATCH] postfix-2.4.5 --- postfix/HISTORY | 6 ++++++ postfix/src/global/mail_version.h | 2 +- postfix/src/util/vstream_tweak.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/postfix/HISTORY b/postfix/HISTORY index 14d5ea871..179525689 100644 --- a/postfix/HISTORY +++ b/postfix/HISTORY @@ -13534,3 +13534,9 @@ Apologies for any names omitted. cleanup server would get out of sync with the milter when a milter replied with ACCEPT at the DATA command. Files: cleanup/cleanup_envelope.c, smtpd/smtpd.c, milter/milters.c. + +20070731 + + Bugfix: the loopback TCP performance workaround was ineffective + due to a wetware bit-flip during code cleanup. File: + util/vstream_tweak.c. diff --git a/postfix/src/global/mail_version.h b/postfix/src/global/mail_version.h index 570cb2613..5ab45cd0d 100644 --- a/postfix/src/global/mail_version.h +++ b/postfix/src/global/mail_version.h @@ -21,7 +21,7 @@ * patchlevel; they change the release date only. */ #define MAIL_RELEASE_DATE "20070731" -#define MAIL_VERSION_NUMBER "2.4.4" +#define MAIL_VERSION_NUMBER "2.4.5" #ifdef SNAPSHOT # define MAIL_VERSION_DATE "-" MAIL_RELEASE_DATE diff --git a/postfix/src/util/vstream_tweak.c b/postfix/src/util/vstream_tweak.c index 145651106..d1afac8fd 100644 --- a/postfix/src/util/vstream_tweak.c +++ b/postfix/src/util/vstream_tweak.c @@ -128,7 +128,7 @@ int vstream_tweak_tcp(VSTREAM *fp) */ #else if (mss > VSTREAM_BUFSIZE) { - int nodelay = 0; + int nodelay = 1; if ((err = setsockopt(vstream_fileno(fp), IPPROTO_TCP, TCP_NODELAY, (char *) &nodelay, sizeof(nodelay))) < 0)