commit | fc7ac7b89c7a9148cd1cd85db4e4f79f8ee8d704 | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <tfournier@exceliance.fr> | Tue Feb 11 15:23:04 2014 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Mar 17 18:06:08 2014 +0100 |
tree | aab9da4e26e17c5931d0c5f4aec25eda496f0887 | |
parent | 94580c9f52d0d68159aaf98fed5d90be97114e44 [diff] |
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.