From owner-freebsd-current Mon Nov 4 12:56:36 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 6EAEA37B401; Mon, 4 Nov 2002 12:56:35 -0800 (PST) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D22643E42; Mon, 4 Nov 2002 12:56:35 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0242.cvx21-bradley.dialup.earthlink.net ([209.179.192.242] helo=mindspring.com) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 188oGc-0001Ad-00; Mon, 04 Nov 2002 12:56:18 -0800 Message-ID: <3DC6DE7C.40A78C43@mindspring.com> Date: Mon, 04 Nov 2002 12:54:20 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Kelly Yancey Cc: Hidetoshi Shimokawa , Doug Barton , freebsd-current@FreeBSD.org, kbyanc@FreeBSD.org Subject: Re: Can't resolve hosts via dns on the command line with latest-current References: <20021104104809.N50081-100000@gateway.posi.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Kelly Yancey wrote: > I suspect something in lib/libc/net/res_send.c is using special knowledge of > the contents of the socket buffer so calculate the real amount of data that > can be read (which this patch does automatically). I'm looking into it. ...To ensure that the read does not block, and is not issued until sufficient data exists. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message