Re: [Straw] Async lookups with command line tools



Hi Dimitur,

On Sun, 14 Jan 2007, Dimitur Kirov wrote:
> A bug in adns library causes straw to segfault during startup. Could it 

Do we know which bug this is and which versions of adns exhibit it? I 
can't help thinking this should be fixed in adns whether we depend on it 
or not.

> be useful to have a wrapper around 'host', or 'nslookup' that executes 
> the command and parses the output. This approach looks ugly at first 
> sight, but it is really asynchronous and most importantly it makes 
> dependence on a package, which is far more stable. If you think it is 
> worth I can write a patch for that.

What's your opinion on how this compares with the threaded LookupManager? 
Would the main point be that although using threads we don't have an 
external dependency and we have an API, spawning a process is advantageous 
because our code stays fully asynchronic?


-- 
-- Trying to catch me? Just follow up my Electric Fingerprints
-- To help you: Tuukka Hastrup iki fi
                http://www.iki.fi/Tuukka.Hastrup/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]