[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Changing the proxy for one application
From:       Thiago Macieira <thiago () kde ! org>
Date:       2006-12-12 19:56:35
Message-ID: 200612122056.42595.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Joris Guisson wrote:
>I have a small question regarding the HTTP proxy settings. Is it
>possible to use a different proxy for one application only ? In
>essence I'm looking for an option you could pass to a KIO::Job, so
>that a different HTTP proxy would be used only for that job.

We have no infrastructure for setting proxies individually for 
applications, so I have no idea why you would want that. We need that 
infrastructure first -- then KIO can automatically set the proxies on a 
per-application basis.

In the case of Kopete or KMail, it should even be done on a per-account 
basis (for example, you may want to use KDE's global SOCKS5 proxy setting 
for some SMTP and POP3 servers, but not for the ones in your local 
network). This has been on my TO-DO list for years, but I doubt I will 
implement it for KDE 4.

That said, however, kio_http retrieves its proxy setting from the 
metadata "UseProxy". If that is set, it should contain a valid URL with 
the proxy's host, port, username and password. See function 
HTTPProtocol::resetSessionSettings in kio_http.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic