MySQL 8.4.2
Source Code Documentation
|
#include <array>
#include <atomic>
#include <chrono>
#include <future>
#include <memory>
#include <mutex>
#include <sstream>
#include <stdexcept>
#include <system_error>
#include <thread>
#include <sys/types.h>
#include "my_thread.h"
#include "mysql/harness/config_option.h"
#include "mysql/harness/config_parser.h"
#include "mysql/harness/dynamic_config.h"
#include "mysql/harness/loader.h"
#include "mysql/harness/logging/logging.h"
#include "mysql/harness/net_ts/impl/socket_error.h"
#include "mysql/harness/net_ts/internet.h"
#include "mysql/harness/net_ts/io_context.h"
#include "mysql/harness/net_ts/socket.h"
#include "mysql/harness/plugin.h"
#include "mysql/harness/plugin_config.h"
#include "mysql/harness/stdx/expected.h"
#include "mysql/harness/utility/string.h"
#include "scope_guard.h"
#include "http/http_server_context.h"
#include "http_auth.h"
#include "mysql/harness/section_config_exposer.h"
#include "mysql/harness/tls_server_context.h"
#include "mysqlrouter/component/http_auth_realm_component.h"
#include "mysqlrouter/component/http_server_component.h"
#include "mysqlrouter/http_constants.h"
#include "mysqlrouter/http_server_export.h"
#include "mysqlrouter/io_component.h"
#include "mysqlrouter/supported_http_options.h"
#include "static_files.h"
Classes | |
class | HttpServerPluginConfig |
class | HttpServerFactory |
class | anonymous_namespace{http_server_plugin.cc}::HttpServerConfigExposer |
Namespaces | |
namespace | anonymous_namespace{http_server_plugin.cc} |
Macros | |
#define | GET_OPTION_CHECKED(option, section, name, value) |
Functions | |
static void | init (mysql_harness::PluginFuncEnv *env) |
static void | deinit (mysql_harness::PluginFuncEnv *) |
static void | start (mysql_harness::PluginFuncEnv *env) |
static void | expose_configuration (mysql_harness::PluginFuncEnv *env, const char *, bool initial) |
Variables | |
static constexpr const char | kHttpServerSectionName [] {"http_server"} |
HTTP server plugin. More... | |
static constexpr const char | kDefaultBindAddress [] {"0.0.0.0"} |
static constexpr const uint16_t | kDefaultPort {8081} |
static constexpr const unsigned | kDefaultSsl {0} |
static std::map< std::string, std::shared_ptr< http::HttpServerContext > > | http_servers |
static std::mutex | io_context_work_guard_mtx |
static std::list< IoComponent::Workguard > | io_context_work_guards |
static const std::array< const char *, 4 > | required |
mysql_harness::Plugin HTTP_SERVER_EXPORT | harness_plugin_http_server |
#define GET_OPTION_CHECKED | ( | option, | |
section, | |||
name, | |||
value | |||
) |
|
static |
|
static |
|
static |
|
static |
mysql_harness::Plugin HTTP_SERVER_EXPORT harness_plugin_http_server |
|
static |
|
static |
|
static |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
HTTP server plugin.
|
static |