From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 9 17:59:55 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90B8516A420 for ; Thu, 9 Mar 2006 17:59:55 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id BABD643D49 for ; Thu, 9 Mar 2006 17:59:54 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from kasuga.mahoroba.org (IDENT:5zsG3owaw4S/ZcxfFsZhDTBWTaxwbpeRFYCNzCqq083JDRec9nT2PL0Hl3kGZ5Wz@kasuga-iwi.mahoroba.org [IPv6:3ffe:501:185b:8010:212:f0ff:fe52:6ac]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.4/8.13.4) with ESMTP/inet6 id k29Hxm9r068162 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 10 Mar 2006 02:59:49 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Fri, 10 Mar 2006 02:59:48 +0900 Message-ID: From: Hajimu UMEMOTO To: othermark In-Reply-To: References: User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-unknown-freebsd6.1) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.1-PRERELEASE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.1.3 (ameno.mahoroba.org [IPv6:3ffe:501:185b:8010::1]); Fri, 10 Mar 2006 02:59:49 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on ameno.mahoroba.org Cc: freebsd-hackers@freebsd.org Subject: Re: Advice on the lightweight resolver, lwres. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2006 17:59:55 -0000 Hi, >>>>> On Thu, 09 Mar 2006 08:23:24 -0800 >>>>> othermark said: atkin901> I was working on converting the STAF (staf.sourceforge.net) project to an atkin901> freebsd port, and on my first attempt, I attempted to use the lightweight atkin901> resolver library because of the thread safe functions _r() that were atkin901> available. FYI: Though we don't expose _r() functions, our netdb functions without _r are thread-safe. So, you don't need _r() functions to be thread-safe. Further, getaddrinfo(3) in lwres still has query order problem which was solved in our getaddrinfo(3). BTW, I'm now working on upgrading the base of our resolver to BIND8's. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/