[Winpt-users] Proxy preferences not saved correctly - fix proposition included

David Elze david.elze at serco-scs.de
Thu Oct 19 15:45:39 CEST 2006


Hi, 
 
I just experienced, that WinPT 1.0.1 does not really save the proxy type you
configure in its proxy preferences for the keyservers, meaning after a
restart of WinPT you end up with the proxy type "NONE", regardless if you
configured "HTTP" the session before.
 
This setting changes HKEY_CURRENT_USER\Software\WinPT\Keyserver\Proto but
regardless of any manual overwrite of this setting in the Windows registry, 
WinPT does not recognize it. But if you change the setting via WinPT again,
the value of this key is set back to "1" (the standard setting).
 
No I looked over the sources and think I found the problem:
in the file "wptKeyserver.h" you can find the following lines:
 
/* Valid proxy protocols. */
enum proxy_proto_t {
    PROXY_PROTO_NONE = 0,
    PROXY_PROTO_HTTP,
    PROXY_PROTO_SOCKS4,
    PROXY_PROTO_SOCKS5
};
 
Now there seems to be no real constant value for PROXY_PROTO_HTTP, 
maybe this is the right entry point to solve the problem mentioned above!?
 
I did not look close enough to the sources but I hope this helps to fix my
problem and maybe release a WinPT 1.0.1a or something because I can't
explain my users to set this setting every time they start WinPT :-)
 
Thanks a lot for any reaction to this and you time.
 
Regards, David Elze
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wald.intevation.org/pipermail/winpt-users/attachments/20061019/4716b0d0/attachment.htm


More information about the Winpt-users mailing list