]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: standard: Disable ip resolution during the runtime
authorThierry FOURNIER <tfournier@exceliance.fr>
Tue, 11 Feb 2014 14:23:04 +0000 (15:23 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 17 Mar 2014 17:06:08 +0000 (18:06 +0100)
commitfc7ac7b89c7a9148cd1cd85db4e4f79f8ee8d704
treeaab9da4e26e17c5931d0c5f4aec25eda496f0887
parent94580c9f52d0d68159aaf98fed5d90be97114e44
MINOR: standard: Disable ip resolution during the runtime

The function str2net runs DNS resolution if valid ip cannot be parsed.
The DNS function used is the standard function of the libc and it
performs asynchronous request.

The asynchronous request is not compatible with the haproxy
archictecture.

str2net() is used during the runtime throught the "socket".

This patch remove the DNS resolution during the runtime.
include/common/standard.h
src/cfgparse.c
src/pattern.c
src/standard.c