On Tue, Jul 1, 2008 at 20:03, Jonathan Schleifer <[EMAIL PROTECTED]> wrote: > "Damien Thébault" <[EMAIL PROTECTED]> wrote: >> Ok, let's put this code somewhere now :) >> I'll maybe post the patch for gajim if someone is interested. > > Feel free to post it here so it can be applied post-0.12.
The project is now hosted here: https://code.launchpad.net/libasyncns-python Attached is the patch I talked about before. It: - creates src/common/asyncresolver.py - removes src/common/nslookup.py (not really needed, but I wanted to be sure it wasn't used anymore, feel free to keep it ;)) - adds resolver.process() in process_connections() (which is only called once every 2s on unix, by the way) You need to install the python binding libasyncns.so, you don't have to install it on the system, put the file next to asyncresolver.py and it will work! As the name suggests, it applies agains gajim 0.11.4. I don't think it should be applied as-is, maybe a complete resolving framework should be set-up (to be sure that every hostname is resolved using it). In addition, any comment is welcome concerning libasyncns-python. Regards, -- Damien Thebault
gajim-0.11.4-libasyncns.patch
Description: Binary data
_______________________________________________ Gajim-devel mailing list Gajim-devel@gajim.org https://lists.gajim.org/cgi-bin/listinfo/gajim-devel