commit | 58b207cdd54353b9eacc46e9ce23d6ecbf70d68e | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Thu Mar 30 14:18:30 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Apr 21 15:42:10 2017 +0200 |
tree | a819b1b92aeabae6b5c960bdba8b0b4352661a40 | |
parent | daa2fe662116e0741d16c9deb6825773abb0bff3 [diff] |
MINOR: server: Extract the code responsible of copying default-server settings. This patch moves the code responsible of copying default server settings to a new server instance from parse_server() function to new defsrv_*_cpy() functions which may be used both during server lines parsing and during server templates initializations to come. These defsrv_*_cpy() do not make any reference to anything else than default server settings.