aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: HTTP proxy doesn´t fetch server lists  (Read 4339 times)

KyroMaster

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 87
HTTP proxy doesn´t fetch server lists
« 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.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: HTTP proxy doesn´t fetch server lists
« Reply #1 on: October 11, 2005, 06:27:26 AM »

I'm not sure the HTTP download uses a proxy.
Logged

KyroMaster

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 87
Re: HTTP proxy doesn´t fetch server lists
« Reply #2 on: October 11, 2005, 07:22:58 AM »

But ir should if I configured a HTTP proxy, or am I wrong?
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: HTTP proxy doesn´t fetch server lists
« Reply #3 on: October 11, 2005, 08:12:29 AM »

Well, it should. However, I'm not sure it does ;)
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: HTTP proxy doesn´t fetch server lists
« Reply #4 on: October 11, 2005, 12:39:15 PM »

It doesn't :) But it should :P
Logged

KyroMaster

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 87
Re: HTTP proxy doesn´t fetch server lists
« Reply #5 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.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: HTTP proxy doesn´t fetch server lists
« Reply #6 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!
Logged

KyroMaster

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 87
Re: HTTP proxy doesn´t fetch server lists
« Reply #7 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
« Last Edit: December 07, 2005, 10:57:06 AM by KyroMaster »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: HTTP proxy doesn´t fetch server lists
« Reply #8 on: December 19, 2005, 06:54:20 PM »

Try tomorrow's tarball with the envornment values set correctly. thanks.
Logged

KyroMaster

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 87
Re: HTTP proxy doesn´t fetch server lists
« Reply #9 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.
Logged