tool: add --tcp-fastopen option

This commit is contained in:
Alessandro Ghedini 2016-02-16 12:21:34 +00:00 committed by Daniel Stenberg
parent 8f72b13660
commit d49087f6bc
5 changed files with 12 additions and 0 deletions

View file

@ -229,6 +229,7 @@ static const struct LongShort aliases[]= {
{"Eq", "cert-status", FALSE},
{"Er", "false-start", FALSE},
{"Es", "ssl-no-revoke", FALSE},
{"Et", "tcp-fastopen", FALSE},
{"f", "fail", FALSE},
{"F", "form", TRUE},
{"Fs", "form-string", TRUE},
@ -1415,6 +1416,10 @@ ParameterError getparameter(char *flag, /* f or -long-flag */
config->ssl_no_revoke = TRUE;
break;
case 't': /* --tcp-fastopen */
config->tcp_fastopen = TRUE;
break;
default: /* certificate file */
{
char *certname, *passphrase;