don't count a custom request as a request type of its own, it is merely
a modifier of another type
This commit is contained in:
@@ -1450,10 +1450,8 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||||||
GetStr(&config->proxy, nextarg);
|
GetStr(&config->proxy, nextarg);
|
||||||
break;
|
break;
|
||||||
case 'X':
|
case 'X':
|
||||||
/* HTTP request */
|
/* set custom request */
|
||||||
GetStr(&config->customrequest, nextarg);
|
GetStr(&config->customrequest, nextarg);
|
||||||
if(SetHTTPrequest(HTTPREQ_CUSTOM, &config->httpreq))
|
|
||||||
return PARAM_BAD_USE;
|
|
||||||
break;
|
break;
|
||||||
case 'y':
|
case 'y':
|
||||||
/* low speed time */
|
/* low speed time */
|
||||||
|
|||||||
Reference in New Issue
Block a user