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

Method Clear

phxsqlproxy/proxy_protocol_handler.cpp:91–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void ProxyProtocolHandler::Clear() {
92 req_uniq_id_ = 0;
93 memset(&src_addr_, 0, sizeof(src_addr_));
94 memset(&dst_addr_, 0, sizeof(dst_addr_));
95}
96
97int ProxyProtocolHandler::GetAddrFromFD(int fd) {
98 int ret;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected