Description: |
IMHO, the following fact is:
- not very handy
- not clearly expressed in the manual
The autoproxy module only hooks into the http module by:
http::config -proxyfilter [namespace origin filter]
when:
- autoproxy::init is called
- and a proxy is found in the system or specified to the command
A proxy specification by:
autoproxy::configure -proxy_host ...
does not hook autoproxy into http and thus just does nothing.
A:
autoproxy::configure -proxy_host ""
does not unhook the autoproxy module (which is propably no issue but might be done too)
Bug or feature ?
I propose to:
- change autoproxy::configure to hook autoproxy, if the option proxy_port is configured with a value
- perhaps document the parameters of autoproxy::init
Specially, I find the used format very handy for own configuration options:
URL and comma-separated proxy exception list
the attached patch works for me.
See this clt-thread for the discussion:
http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/f04ff7683d61cc45/08150dfe8ce5b5d6#08150dfe8ce5b5d6
Thanks to Alexandre to work this out !!!
Harald
|