[Webkit-unassigned] [Bug 23846] [GTK]Enable DNS prefetching

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 9 07:12:30 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=23846


danw at gnome.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danw at gnome.org




------- Comment #2 from danw at gnome.org  2009-02-09 07:12 PDT -------
You can actually just do:

    SoupAddress* address = soup_address_new(hostname.utf8().data(),
SOUP_ADDRESS_ANY_PORT);
    soup_address_resolve_async(address, 0, 0, 0, 0);
    g_object_unref(address);

resolve_async() refs the addr when starting the op, and will unref it at the
end, and it deals with a NULL callback.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list