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:
Tobias Brunner
2025-06-04 19:07:22 +02:00
parent 82adb5ce0f
commit e864b8a8b1
6 changed files with 17 additions and 56 deletions
-6
View File
@@ -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));