Re: Blocking DNS lookup on MC startup



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.




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