Blocking DNS lookup on MC startup
Pavel Tsekov
ptsekov at gmx.net
Wed May 31 12:26:46 UTC 2006
On Wed, 31 May 2006, Leonard den Ottolander wrote:
> On Wed, 2006-05-31 at 14:49 +0300, Pavel Tsekov wrote:
>> 1) The backtrace shows it.
>
> Yes, but that doesn't mean it couldn't hang elsewhere. Hence my
> question.
I think, but I am not sure, that the rest of the gethostbyname() and
related calls are interruptable. I remember that Arpie submitted a patch
for gethostbyname() in ftpfs no so long ago.
>>> Moving the Get_Hostbyname() call to inside the if(ip) seems a proper
>>> solution.
>>
>> Yep. Maybe that's what we want to do. The impact will be minor.
>
> Good.
I've notified Andrew Samoilov about this discussion. I suggest that we
wait for his opinion on this matter.
More information about the mc-devel
mailing list