From owner-freebsd-current Tue Oct 29 22:55:18 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BAEE37B401 for ; Tue, 29 Oct 2002 22:55:17 -0800 (PST) Received: from mail-green.research.att.com (mail-green.research.att.com [135.207.30.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id C869043E42 for ; Tue, 29 Oct 2002 22:55:16 -0800 (PST) (envelope-from fenner@research.att.com) Received: from alliance.research.att.com (alliance.research.att.com [135.207.26.26]) by mail-green.research.att.com (Postfix) with ESMTP id E65901E0D6; Wed, 30 Oct 2002 01:55:10 -0500 (EST) Received: from windsor.research.att.com (windsor.research.att.com [135.207.26.46]) by alliance.research.att.com (8.8.7/8.8.7) with ESMTP id BAA23862; Wed, 30 Oct 2002 01:55:10 -0500 (EST) From: Bill Fenner Received: (from fenner@localhost) by windsor.research.att.com (8.8.8+Sun/8.8.5) id WAA15954; Tue, 29 Oct 2002 22:55:09 -0800 (PST) Message-Id: <200210300655.WAA15954@windsor.research.att.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: des@ofug.org Subject: Re: libfetch(3) patch for SSL Cc: freebsd-current@freebsd.org References: <200210300312.g9U3CPZs021756@stash.attlabs.att.com> Date: Tue, 29 Oct 2002 22:55:08 -0800 Versions: dmail (solaris) 2.5a/makemail 2.9d Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I was working on (wlen == 0 && iov->iov_cnt != 0) for a while, thinking that it would work in both cases, even though the logic is a little weird in the writev case, but it would fail in the race where the connection closed at the same time as the writev() with the zero length iov_len. Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message