diff --git a/postfix/HISTORY b/postfix/HISTORY index 9c20918b4..55b3c66dc 100644 --- a/postfix/HISTORY +++ b/postfix/HISTORY @@ -13248,7 +13248,7 @@ Apologies for any names omitted. cleanup/cleanup_final.c, cleanup/cleanup_bounce.c, cleanup/cleanup_api.c. -20050217 +20070217 Streamline the compile time selection of event handling styles, replacing multiple on/off macros by just one @@ -13657,3 +13657,9 @@ Apologies for any names omitted. implement a denial of service attack on Postfix. Data confidentiality and integrity are not affected. File: util/events.c. + +20081203 + + Cleanup: adjust the VSTREAM buffer strategy when reusing + an SMTP connection with a large TCP MSS value. File: + smtp/smtp_reuse.c. diff --git a/postfix/src/global/mail_version.h b/postfix/src/global/mail_version.h index 312749536..281bda442 100644 --- a/postfix/src/global/mail_version.h +++ b/postfix/src/global/mail_version.h @@ -20,8 +20,8 @@ * Patches change both the patchlevel and the release date. Snapshots have no * patchlevel; they change the release date only. */ -#define MAIL_RELEASE_DATE "20080902" -#define MAIL_VERSION_NUMBER "2.4.9" +#define MAIL_RELEASE_DATE "20090103" +#define MAIL_VERSION_NUMBER "2.4.10" #ifdef SNAPSHOT # define MAIL_VERSION_DATE "-" MAIL_RELEASE_DATE diff --git a/postfix/src/smtp/smtp_reuse.c b/postfix/src/smtp/smtp_reuse.c index 1ed72d73b..0eb989f18 100644 --- a/postfix/src/smtp/smtp_reuse.c +++ b/postfix/src/smtp/smtp_reuse.c @@ -213,6 +213,11 @@ static SMTP_SESSION *smtp_reuse_common(SMTP_STATE *state, int fd, return (state->session = 0); } + /* + * Avoid poor performance when TCP MSS > VSTREAM_BUFSIZE. + */ + vstream_tweak_sock(session->stream); + /* * Update the list of used cached addresses. */