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

List:       kde-devel
Subject:    Re: Java and auto-proxy doesn't work
From:       Malte Starostik <malte () kde ! org>
Date:       2002-06-26 22:10:04
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Wednesday 26 June 2002 23:43 schrieb Till Krech:
> On Wednesday 26 June 2002 10:50, Michael Goffioul wrote:
> > > Yes, this could be done. The url of the page, which contains the applet
> > > can be taken for the proxy lookup with proxyForURL(). This setting will
> > > then apply to all applets started afterwards, as long as the kjas
> > > applet server runs. greetings, till
> >
> > If there's no objection, could you then implement that as a temporary
> > solution?
>
> Could you please try the attached (stupid) patch and look if it works with
> your proxy script. Didn't know how to get the applet/page url in this
> context, so I just took a non existing dummy url which should trigger the
> correct proxy for external urls.
> greetings, till
Ah, so you can only tell the JVM about the proxy once without such a protocol 
handler? If so, such a handler would be the only viable long-term solution. 
Your patch might work for some scripts but not others. Some scripts are 
rather sophisticated and return different a number proxies based on the real 
URL. Some even implement client-side proxy load balancing with such scripts. 
Using a non-existent host in a dummy URL might also fail since some scripts 
check the host name if it resolves.

- -- 
Malte Starostik
PGP: 1024D/D2F3C787 [C138 2121 FAF3 410A 1C2A  27CD 5431 7745 D2F3 C787]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9Gju+VDF3RdLzx4cRAmUKAJ46osRg+LZq5QLmMkD0EknL6o7c8wCeKEnR
8BjUriFJAQ/n58fM+cmI9rw=
=QUQZ
-----END 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