]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: resolvers: new function find_srvrq_answer_record()
authorBaptiste Assmann <bedis9@gmail.com>
Wed, 10 Mar 2021 11:22:18 +0000 (12:22 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 12 Mar 2021 16:41:28 +0000 (17:41 +0100)
commit6a8d11dc8051f4fc40c9ab1266cd58367ea1ca19
treeb47718cee39fbb61a769c57c24deeef49c29f8e5
parent77f860699c17426ee6e727fa07a287b32276f1dd
MINOR: resolvers: new function find_srvrq_answer_record()

This function search for a SRV answer item associated to a requester
whose type is server.
This is mainly useful to "link" a server to its SRV record when no
additional record were found to configure the IP address.

This patch is required by a bug fix.
include/haproxy/resolvers.h
src/resolvers.c