Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <007301c0cbcb$aff48090$0200a8c0@lifelesswks> From: "Robert Collins" To: "Corinna Vinschen" , References: <20010423095616 DOT X15499 AT cygbert DOT vinschen DOT de> Subject: Re: Corinna pls read RE: Asynchronous DNS - gethostbyname_r Date: Mon, 23 Apr 2001 18:02:03 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-OriginalArrivalTime: 23 Apr 2001 07:54:01.0280 (UTC) FILETIME=[8F34AC00:01C0CBCA] Short answer yes and yes. Background: squid started its life doing dns lookups via a farm of helper processs. The core interface within squid stayed the same when the new rfc1035 code was directly implemented. the only change was that the helper farm went away and calls to the new library were used. I don't know how closely the library corresponds to resolve(3). Look at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/squid/squid/lib/rfc1035.c ?rev=1.1.1.2.2.1.6.5&content-type=text/vnd.viewcvs-markup for the source. It's pure GPL, not LPGL. Rob ----- Original Message ----- From: "Corinna Vinschen" To: Sent: Monday, April 23, 2001 5:56 PM Subject: Re: Corinna pls read RE: Asynchronous DNS - gethostbyname_r > On Mon, Apr 23, 2001 at 09:17:27AM +1000, Robert Collins wrote: > > I'm not sure if I ever answered this. > > > > Yes Squid does have an implementation of a resolver. Its recently had > > file lookup capability added to it. It's not 1-1 to resolver (3), but > > it's not far off. > > Is it or could it become a separate lib? > > Corinna > > -- > Want to unsubscribe from this list? > Check out: http://cygwin.com/ml/#unsubscribe-simple > > -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple