开发者

cannot set proxy password in restricted corporate environment even programmatically

开发者 https://www.devze.com 2023-01-08 03:35 出处:网络
When I change login/password through User settings, they don\'t persist. So I set it programmatically

When I change login/password through User settings, they don't persist. So I set it programmatically

proxy: system/schem开发者_运维知识库es/default/proxy

set in proxy 'host xxx.yyy.www.zzz
set in proxy 'port-id xxxx
set in proxy 'user "login"
set in proxy 'pass "password"
set in proxy 'type 'socks

It did persist but when testing it with

read http://google.com

it takes forever.

These settings work with Firefox so why can't rebol works with them ?


Note that you can set the set-net function in Rebol2

USAGE: SET-NET settings

DESCRIPTION: Network setup. All values after default are optional. Words OK for server names. SET-NET is a function value.

ARGUMENTS: settings -- [email-addr default-server pop-server proxy-server proxy-port-id proxy-type esmtp-user esmtp-pass] (Type: block)


REBOL support for proxies is patchy. For instance it does not work with Squid. So, that's likely the reason why you're having issues.

0

精彩评论

暂无评论...
验证码 换一张
取 消