This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/102179/ |
I do not like this patch for the very reason you stated. I do not want the mutex there either because it is rather expensive. As it stands we start a thread for each lookup right now which in of itself is already too expensive for my taste. Hence, I will have to think of some other way to avoid the even worse solution of creating a local even loop. Having said that, are you using a slow DNS server ? The only way the lookup thread gets terminated is if your nameserver takes longer than 1000 ms per query. That is because the two KUriFilterPlugins that use it set a timeout value of that duration. Otherwise, that code path should not be encountered at all!
- Dawit
On August 2nd, 2011, 11:30 a.m., Albert Astals Cid wrote:
Review request for kdelibs and Dawit Alemayehu.
By Albert Astals Cid.
Updated Aug. 2, 2011, 11:30 a.m. Description
Testing
Diffs
|