Re: [PATCH v2] tools/hv: async name resolution in kvp_daemon

From: Olaf Hering
Date: Wed Nov 13 2019 - 11:00:32 EST


Am Wed, 13 Nov 2019 16:54:00 +0100
schrieb Olaf Hering <olaf@xxxxxxxxx>:

> During this time all "FullyQualifiedDomainName" requests will be
> answered with an empty string.

> + strcpy(key_value, full_domain_name ? : "");
> strcpy(key_name, "FullyQualifiedDomainName");


KY, Haiyang, Stephen,

please check if the host side can actually handle such temporary, empty string.
If the tools cache the first result, the implemented approach can not work.
If that is indeed the case, is there some sort of -ERETRY in the protocol?


Olaf

Attachment: pgpCZcB17bMwW.pgp
Description: Digitale Signatur von OpenPGP