feature: add per server edns-client-subnet support

This commit is contained in:
Nick Peng
2023-04-08 22:14:52 +08:00
parent 0f68f0c11d
commit 0947a8dcab
13 changed files with 672 additions and 64 deletions

View File

@@ -802,7 +802,7 @@ static int _proxy_handshake_http(struct proxy_conn *proxy_conn)
if (errno == EAGAIN || errno == EWOULDBLOCK) {
return PROXY_HANDSHAKE_WANT_READ;
}
if (len == 0) {
tlog(TLOG_ERROR, "remote server %s closed.", proxy_conn->server_info->proxy_name);
} else {