dns_client: retry when upstream result is empty.

This commit is contained in:
Nick Peng
2023-12-19 22:29:44 +08:00
parent a19ac7eb07
commit 1d46fa6208
8 changed files with 209 additions and 9 deletions

View File

@@ -87,6 +87,7 @@ struct ServerRequestContext {
typedef enum {
SERVER_REQUEST_OK = 0,
SERVER_REQUEST_ERROR,
SERVER_REQUEST_NO_RESPONSE,
SERVER_REQUEST_SOA,
} ServerRequestResult;