This doesn't do proxy authentication or anything similarly fancy, but it
does actually make logjam work well enough for me.

(Against 4.5.1-4.)

--- src/network-soup.c~ 2005-08-24 09:14:27.000000000 +0100
+++ src/network-soup.c  2005-12-20 15:12:45.000000000 +0000
@@ -51,7 +51,7 @@
        GString *response = NULL;
        CallbackInfo info = { cb, data, 0, 0 };
 
-       suri = soup_uri_new(url);
+       suri = soup_uri_new(conf.options.useproxy ? conf.proxy : url);
        sock = soup_socket_client_new_sync(suri->host, suri->port, NULL,
        &status);
        if (status != SOUP_STATUS_OK) {
                g_set_error(err, NET_ERROR, NET_ERROR_GENERIC,

-- [mdw]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to