Status

defect
RESOLVED WONTFIX
16 years ago
7 months ago

People

(Reporter: kiko, Assigned: john)

Tracking

Trunk
x86
Linux

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 years ago
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?
(Assignee)

Comment 1

16 years ago
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?
(Reporter)

Updated

16 years ago
QA Contact: kiko
(Reporter)

Comment 2

16 years ago
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

Comment 3

9 years ago
Well, it's 2010 and it still doesn't work :(

http_proxy suport would be greatly appreciated.

Comment 4

9 years ago
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.

Comment 5

7 years ago
(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
Comment hidden (metoo)
Comment hidden (metoo)

Comment 8

8 months ago
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
Last Resolved: 7 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.