1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* keyserver.c (parse_keyserver_options): Accept honor-http-proxy as an

alias for http-proxy.
This commit is contained in:
David Shaw 2005-03-10 19:34:40 +00:00
parent 04f02174e1
commit 9bf9389179
2 changed files with 11 additions and 0 deletions

View file

@ -83,6 +83,14 @@ parse_keyserver_options(char *options)
if(tok[0]=='\0')
continue;
/* For backwards compatibility. 1.2.x used honor-http-proxy and
there are a good number of documents published that recommend
it. */
if(ascii_strcasecmp(tok,"honor-http-proxy")==0)
tok="http-proxy";
else if(ascii_strcasecmp(tok,"no-honor-http-proxy")==0)
tok="no-http-proxy";
/* We accept quite a few possible options here - some options to
handle specially, the keyserver_options list, and import and
export options that pertain to keyserver operations. Note