Thread
:
Tear 0.3 - Simple WebKit browser, now with Dashboard
View Single Post
Matan
2009-03-25 , 20:25
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#
580
Since tear uses libcurl, it supports http_proxy environment variable, so it is useful for people who need a constant proxy. Just run in xterm
export http_proxy=http://localhost:8118/
tear
To get tear to use a proxy.
This does not help if you want to config proxy by hand.
If you want tear to use the proxy settings from connection manager, you need to convert the following line to vala syntax and add it in a certain strategic place in the code:
if (ConIc.ProxyMode==NONE)
Environment.g_unsetenv("http_proxy");
else
Environment.g_setenv("http_proxy", "http://" + ConIc.get_proxy_host(HTTP) + ":" + ConIc.get_proxy_port(HTTP) + "/");
Quote & Reply
|
The Following 4 Users Say Thank You to Matan For This Useful Post:
Bundyo
,
ioan
,
nadavwr
,
qwerty12
Matan
View Public Profile
Send a private message to Matan
Find all posts by Matan