mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* gpgkeys_curl.c (main): New "follow-redirects" option. Takes an optional
numeric value for the maximum number of redirects to allow. Defaults to 5. * gpgkeys_curl.c (main), gpgkeys_finger.c (main), gpgkeys_hkp.c (main), gpgkeys_http.c (main), gpgkeys_ldap.c (main): Make sure that a "timeout" option passed with no arguments is properly handled.
This commit is contained in:
parent
f3c33b8768
commit
97b8f41b08
6 changed files with 42 additions and 5 deletions
|
@ -1763,8 +1763,10 @@ main(int argc,char *argv[])
|
|||
{
|
||||
if(no)
|
||||
timeout=0;
|
||||
else
|
||||
else if(start[7]=='=')
|
||||
timeout=atoi(&start[8]);
|
||||
else if(start[7]=='\0')
|
||||
timeout=DEFAULT_KEYSERVER_TIMEOUT;
|
||||
}
|
||||
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue