mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-23 15:19:36 -04:00
BUG/MEDIUM: servers: fix typo "src" instead of "srv"
When copying the settings for all servers when using server templates, fix a typo, or we would never copy the length of the ALPN to be used for checks. This should be backported to 1.9.
This commit is contained in:
parent
02f3cf19ed
commit
0c50b1ecbb
1 changed files with 1 additions and 1 deletions
|
|
@ -1639,7 +1639,7 @@ static void srv_settings_cpy(struct server *srv, struct server *src, int srv_tmp
|
|||
srv->check.port = src->check.port;
|
||||
srv->check.sni = src->check.sni;
|
||||
srv->check.alpn_str = src->check.alpn_str;
|
||||
srv->check.alpn_len = srv->check.alpn_len;
|
||||
srv->check.alpn_len = src->check.alpn_len;
|
||||
/* Note: 'flags' field has potentially been already initialized. */
|
||||
srv->flags |= src->flags;
|
||||
srv->do_check = src->do_check;
|
||||
|
|
|
|||
Loading…
Reference in a new issue