--===============0648669612== Content-Type: multipart/alternative; boundary="----=_Part_140561_28802046.1166017935138" ------=_Part_140561_28802046.1166017935138 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline We got a request from somebody who wanted to do his surfing via a tor proxy, and do his bittorrenting with a normal HTTP proxy. I'm just investigating if it is possible to do this. Anyway, I'll see if this UseProxy metadata option does the trick. Joris, On 12/12/06, Thiago Macieira wrote: > > 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 > > > ------=_Part_140561_28802046.1166017935138 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline We got a request from somebody who wanted to do his surfing via a tor proxy, and do his bittorrenting with a normal HTTP proxy.  I'm just investigating if it is possible to do this.

Anyway, I'll see if this UseProxy metadata option does the trick.

Joris,

On 12/12/06, Thiago Macieira <thiago@kde.org> wrote:
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



------=_Part_140561_28802046.1166017935138-- --===============0648669612== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0648669612==--