aMule Forum

English => en_Bugs => Topic started by: KyroMaster on October 11, 2005, 01:16:38 AM

Title: HTTP proxy doesn´t fetch server lists
Post by: KyroMaster on October 11, 2005, 01:16:38 AM
I´ve setup my HTTP proxy correctly (it works with other programs) but I always get "response 0 :error 3" when aMule tries to download a serverlist.
Title: Re: HTTP proxy doesn´t fetch server lists
Post by: Kry on October 11, 2005, 06:27:26 AM
I'm not sure the HTTP download uses a proxy.
Title: Re: HTTP proxy doesn´t fetch server lists
Post by: KyroMaster on October 11, 2005, 07:22:58 AM
But ir should if I configured a HTTP proxy, or am I wrong?
Title: Re: HTTP proxy doesn´t fetch server lists
Post by: Kry on October 11, 2005, 08:12:29 AM
Well, it should. However, I'm not sure it does ;)
Title: Re: HTTP proxy doesn´t fetch server lists
Post by: phoenix on October 11, 2005, 12:39:15 PM
It doesn't :) But it should :P
Title: Re: HTTP proxy doesn´t fetch server lists
Post by: KyroMaster on December 02, 2005, 02:18:07 AM
Would it be possible that aMule uses the proxy environment variables on linux if they´re set for HTTP traffic (e.g. serverlists). The p2p traffic should have to be set in the preferences dialog like it is now, but the HTTP traffic should be using the system settings.
I don´t know if that´s possible with wxWidgets.
Title: Re: HTTP proxy doesn´t fetch server lists
Post by: phoenix on December 07, 2005, 01:12:01 AM
KyroMaster,

What are the proxy environment variables on linux? Please, point me to some doc. I know wx refers to some environment vars, but AFAIK, there is no standard about them. Also, although wx does refer to them in code, they do not seem to do something usefull with them :(

By the way, I tried to search the forum, I am quite sure I have already answered that, but unfortunately I did not find the thread... aMule uses wxHTTP to download the server list. This means we must rewrite some part of wxHTTP to give it support for proxy. I am currently drowned in real life work, so this will have to wait some time, at least if the code comes from me.

I know it is not a proper solution, but it does work, you can always donwload the server.met manually.

Cheers!
Title: Re: HTTP proxy doesn´t fetch server lists
Post by: KyroMaster on December 07, 2005, 10:49:17 AM
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=5 ("search for "proxy"). The variables for other proxies are similar (ftp_proxy...). This is what KDE and Firefox uses (or can use) when set to "auto-detect proxy".
Yes of course it´s not an urgent thing, but it would be cool. Can´t you set a proxy explicitly in wxHTTP (I mean in wxURL as a base class of wxHTTP). Then you don´t have to reqrite it but simply check for the environment vars and use them in aMule code. Perhaps I´ll look into this myself when I get some time *g
Title: Re: HTTP proxy doesn´t fetch server lists
Post by: Kry on December 19, 2005, 06:54:20 PM
Try tomorrow's tarball with the envornment values set correctly. thanks.
Title: Re: HTTP proxy doesn´t fetch server lists
Post by: KyroMaster on July 12, 2006, 06:27:15 PM
I tried the actual release and it still doesn´t work. The environment variables are set correctly.