From owner-freebsd-hackers Wed Mar 7 23: 5: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from titanic.medinet.si (titanic.medinet.si [212.18.32.66]) by hub.freebsd.org (Postfix) with ESMTP id C56FC37B718 for ; Wed, 7 Mar 2001 23:04:58 -0800 (PST) (envelope-from blaz@amis.net) Received: by titanic.medinet.si (Postfix, from userid 1000) id 3FDD726C02; Thu, 8 Mar 2001 08:04:57 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by titanic.medinet.si (Postfix) with ESMTP id 343D511713 for ; Thu, 8 Mar 2001 08:04:57 +0100 (CET) Date: Thu, 8 Mar 2001 08:04:57 +0100 (CET) From: Blaz Zupan To: Subject: PATCH: workaround for FreeBSD 4.2-STABLE (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Anybody know which bug Wietse is talking about? Blaz Zupan, Medinet d.o.o, Linhartova 21, 2000 Maribor, Slovenia E-mail: blaz@amis.net, Tel: +386-2-320-6320, Fax: +386-2-320-6325 ---------- Forwarded message ---------- Date: Wed, 7 Mar 2001 10:49:52 -0500 (EST) From: Wietse Venema To: Postfix users Subject: PATCH: workaround for FreeBSD 4.2-STABLE This is an UNTESTED workaround for an incompatible change in FreeBSD 4.2-STABLE that causes data to be lost when a client close()s a socket before the server has accept()ed the connection. This screws up the Postfix flush service, and may make some parts of Postfix fail randomly under a heavy system load. The UNTESTED workaround causes the client to wait until the server closes the connection first. This makes Postfix slower than necessary. The workaround is UNTESTED because I have no time to download and install FreeBSD 4.2-STABLE. To compile this UNTESTED workaround: [ apply patch ] % make makefiles CCARGS=-DBROKEN_FREEBSD_ACCEPT % make % su [ type your root password here ] # make install