]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-2.4.10 v2.4.10
authorWietse Venema <wietse@porcupine.org>
Sat, 3 Jan 2009 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <postfix-users@dukhovni.org>
Sat, 10 Feb 2018 20:20:43 +0000 (15:20 -0500)
postfix/HISTORY
postfix/src/global/mail_version.h
postfix/src/smtp/smtp_reuse.c

index 9c20918b49966f58717458f13ed96b71fa124617..55b3c66dcbc2be9ddefa44926e86e7268801f0b1 100644 (file)
@@ -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.
index 312749536082ea95c6f04d0501d3177a4f2d0b3d..281bda442ae076108f67c556b35d13d06f3775be 100644 (file)
@@ -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
index 1ed72d73bd58e7f39c2373c5ccceb5eb4e75f4f3..0eb989f18b8b729c8cb042e38ced7c16df13b7d7 100644 (file)
@@ -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.
      */