Hi,
On Tue, Nov 05, Baptiste wrote:
> David Birdsong reported a bug last week about http do-resolve action not
> using the DNS cache.
> The patch in attachment fixes this issue.
> There is no github issue associated to this bug.
> Backport status is up to 2.0.
Quick question: are the printf's there on purpose or leftover debug
outputs ?
-Jarno
@@ -73,6 +73,7 @@ int check_trk_action(struct act_rule *rule, struct proxy *px,
char **err)
int act_resolution_cb(struct dns_requester *requester, struct dns_nameserver
*nameserver)
{
struct stream *stream;
+printf("%s %d\n", __FUNCTION__, __LINE__);
if (requester->resolution == NULL)
return 0;
@@ -89,6 +90,7 @@ int act_resolution_cb(struct dns_requester *requester, struct
dns_nameserver *na
int act_resolution_error_cb(struct dns_requester *requester, int error_code)
{
struct stream *stream;
+printf("%s %d\n", __FUNCTION__, __LINE__);
if (requester->resolution == NULL)
return 0;
--
Jarno Huuskonen