diff options
Diffstat (limited to 'src/OptionHandlerFactory.cc')
| -rw-r--r-- | src/OptionHandlerFactory.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc index 2f17df92..3acac8a2 100644 --- a/src/OptionHandlerFactory.cc +++ b/src/OptionHandlerFactory.cc @@ -431,6 +431,13 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers() // HTTP Specific Options { SharedHandle<OptionHandler> op(new DefaultOptionHandler + (PREF_CA_CERTIFICATE, + TEXT_CA_CERTIFICATE)); + op->addTag(TAG_HTTP); + handlers.push_back(op); + } + { + SharedHandle<OptionHandler> op(new DefaultOptionHandler (PREF_CERTIFICATE, TEXT_CERTIFICATE)); op->addTag(TAG_HTTP); @@ -438,6 +445,14 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers() } { SharedHandle<OptionHandler> op(new BooleanOptionHandler + (PREF_CHECK_CERTIFICATE, + TEXT_CHECK_CERTIFICATE, + V_FALSE)); + op->addTag(TAG_HTTP); + handlers.push_back(op); + } + { + SharedHandle<OptionHandler> op(new BooleanOptionHandler (PREF_ENABLE_HTTP_KEEP_ALIVE, TEXT_ENABLE_HTTP_KEEP_ALIVE, V_TRUE)); |
