Closed Bug 224886 Opened 21 years ago Closed 6 years ago

Support http_proxy

Categories

(Webtools Graveyard :: Tinderbox3, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: kiko, Assigned: john)

Details

Tinderclient currently has a problem when behing an http_proxy. 
Turning this on is trivial with LWP; basically calling

    $this->{UA}->env_proxy()

in tinderclient.pl's initialization. Sound correct?
Sounds like it's probably right.  I suggest making this a config variable, so
that there are no changes to the admin interface.  (By this I mean the machine
config, that set of name/value textboxes.)  Basically the only things to change
would be the default setup (so that people know this variable exists) and the
client (to grab the variable from the server and call that method).  Maybe
http_proxy=blah?
QA Contact: kiko
You can just use the env_proxy() call with no parameters to grab this from the
standard environment variable http_proxy. Something like:

+kernel_tinderclient_patched/tinderclient.pl
--- kernel_tinderclient/tinderclient.pl 2003-11-06 21:55:26.000000000 -0800
+++ kernel_tinderclient_patched/tinderclient.pl 2003-12-11 10:28:06.000000000 -0800
@@ -206,6 +206,7 @@
   # The user agent object
   $this->{UA} = new LWP::UserAgent;
   $this->{UA}->agent("TinderboxClient/" . $TinderClient::PROTOCOL_VERSION);
+  $this->{UA}->env_proxy();
   # the tinderclient.log out
   $this->{LOG_OUT} = undef;
   # the tinderclient.log in
QA Contact: kiko → tinderbox3
Well, it's 2010 and it still doesn't work :(

http_proxy suport would be greatly appreciated.
I'm totally agree.
It would be nice if Firefox use http_proxy, ftp_proxy and https_proxy settings while "Use system proxy settings" are enabled.
(In reply to Stanislav GE from comment #4)
> I'm totally agree.
> It would be nice if Firefox use http_proxy, ftp_proxy and https_proxy
> settings while "Use system proxy settings" are enabled.

I think bug 66057 was supposed to fix this, but apparently it didn't.

Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120830 Firefox/15.0 SeaMonkey/2.12
Product: Webtools → Webtools Graveyard
At least it's still 2018.

I'm a novice.. I don't know what 'tinderbox' is.

But, here's what I know.

As you can see in https://searchfox.org/mozilla-central/source/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp#175 , the Firefox routine that checks the environment variables for proxy settings doesn't know how to set SOCKS proxies.

As for the comment: 

    // Is there a way to specify "socks://" or something in these environment
    // variables? I can't find any documentation.

...I propose to follow curl's lead: https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html

I hope this helps.

Faithfully yours,
--sebboh
I think there are some confusions in this bug.
This bug is about tinderbox, the old build platform for Firefox.
If this is an issue with Firefox, please open a new bug.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.