On Tue, 30 Aug 2005 18:03:08 -0400 Michael Jennings <[EMAIL PROTECTED]> babbled:

> On Friday, 26 August 2005, at 11:19:54 (+0900),
> Carsten Haitzler wrote:
> 
> > It's trying to be friendly and read everything for you! :) seriously
> > - e has its own dns lookup code because gethostbyname is a blocking
> > call. this is actually only used if making remote connections, but
> > it has to parse /etc/resolve.conf to know what to do. this means
> > ecore_con is then capable of doing nslookups asynchronously - not
> > holding the process hostage to waiting for a dns lookup timeout or
> > reply. it always parses this data wehn starting up the connections
> > subsystem (ecore_con) but it doesnt mean its making remote
> > connections.
> 
> This is a horrific hack.  It doesn't even take into account nsswitch
> settings.

i know. we need to fix that. also need to respect host.conf and actually
read /etc/hosts. yes there's work to be done.

> There are numerous ASYNC DNS packages out there to be used.  Why not
> use one?

we looked at 2

1. was gpl - thus license makes it useless
2. the other wasn't even included in debian's massive list of packages - that
means users now have to go fine another lib they need and compile and install
it - and we don't provide it. it was a tossup here, but i don't think any of us
was that happy about sucking in an external build dep just for this simple
thing, thus sebastien implemented dns lookups. he did the hard bit - reading
the rfc's and doing the network protocol handling. the easy stuff is left to
do :)

> Michael
> 
> -- 
> Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <[EMAIL PROTECTED]>
> n + 1, Inc., http://www.nplus1.net/       Author, Eterm (www.eterm.org)
> -----------------------------------------------------------------------
>  "Applying computer technology is simply finding the right wrench to 
>   pound in the correct screw."                              -- Unknown
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> enlightenment-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多                              [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to