[openbeosnetteam] Re: Fix for resolving host names

Waldemar said:
> Very nice.
> Did you test it? 

For once, yes :-)
I should do that more often, in fact, because it's how I found bugs I 
fixed on the way in userland version...

> Net+ did not crash anymore, but I could only resolve one address and 
> then 
> all other addresses failed until I restarted Net+ (the same with 
> Mozilla).

It was expected, the fix only correcting the segfault occuring when 
setting h_errno by the DNS resolver code.
But it continue to failed resolving second and next addresses...

As a reset (app relaunch) make it works again (once, again), I guess 
it's something related to some DNS global state 
in our code we have here...
I may eventually dive in this DNS issue, but I agreed with brennan on 
IRC to go hunting after one *other* blocking issue: route don't works 
at all, telling "Protocol not supported "! 
As I suspect it may involve a whole new net module (route *protocol*) 
to import from prehistoric stack epoch, I'll let you chase after the 
DNS bug...

Have fun :-p

> Maybe it's has something to do with PPP...? :(

I highly doubt that, as this DNS bug was known way before you join us :
-)

- Philippe


--
Fortune Cookie Says:

If a camel is a horse designed by a committee, then a consensus
forecast is a camel's behind.
                -- Edgar R. Fiedler

Other related posts: