fetcher: Remove unused FETCH_HTTP_VERSION_1_0 option
Was only used by the removed scepclient and does not serve any purpose nowadays anyway.
This commit is contained in:
@@ -69,12 +69,6 @@ enum fetcher_option_t {
|
||||
*/
|
||||
FETCH_REQUEST_HEADER,
|
||||
|
||||
/**
|
||||
* Use HTTP Version 1.0 instead of 1.1.
|
||||
* No additional argument is needed.
|
||||
*/
|
||||
FETCH_HTTP_VERSION_1_0,
|
||||
|
||||
/**
|
||||
* Timeout to use for fetch, in seconds.
|
||||
* Additional argument is u_int
|
||||
|
||||
@@ -103,9 +103,6 @@ METHOD(fetcher_manager_t, fetch, status_t,
|
||||
good = fetcher->set_option(fetcher, opt,
|
||||
va_arg(args, char*));
|
||||
continue;
|
||||
case FETCH_HTTP_VERSION_1_0:
|
||||
good = fetcher->set_option(fetcher, opt);
|
||||
continue;
|
||||
case FETCH_TIMEOUT:
|
||||
good = fetcher->set_option(fetcher, opt,
|
||||
va_arg(args, u_int));
|
||||
|
||||
Reference in New Issue
Block a user