MCPcopy Create free account
hub / github.com/Tencent/phxsql / ProxyProtocolHandler

Method ProxyProtocolHandler

phxsqlproxy/proxy_protocol_handler.cpp:75–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73// proxy protocol specification end
74
75ProxyProtocolHandler::ProxyProtocolHandler(PHXSqlProxyConfig * config,
76 WorkerConfig_t * worker_config,
77 GroupStatusCache * group_status_cache) :
78 config_(config),
79 worker_config_(worker_config),
80 group_status_cache_(group_status_cache) {
81 Clear();
82}
83
84ProxyProtocolHandler::~ProxyProtocolHandler() {
85}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected