Amaury Denoyelle | c8b4ce4 | 2022-01-11 11:54:59 +0100 | [diff] [blame] | 1 | #include <haproxy/api.h> |
| 2 | #include <haproxy/listener.h> |
| 3 | #include <haproxy/proxy-t.h> |
| 4 | |
Amaury Denoyelle | b76ae69 | 2022-01-11 14:16:37 +0100 | [diff] [blame] | 5 | static int bind_parse_quic_force_retry(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) |
| 6 | { |
| 7 | conf->quic_force_retry = 1; |
| 8 | return 0; |
| 9 | } |
| 10 | |
Amaury Denoyelle | c8b4ce4 | 2022-01-11 11:54:59 +0100 | [diff] [blame] | 11 | static struct bind_kw_list bind_kws = { "QUIC", { }, { |
Amaury Denoyelle | b76ae69 | 2022-01-11 14:16:37 +0100 | [diff] [blame] | 12 | { "quic-force-retry", bind_parse_quic_force_retry, 0 }, |
Amaury Denoyelle | c8b4ce4 | 2022-01-11 11:54:59 +0100 | [diff] [blame] | 13 | { NULL, NULL, 0 }, |
| 14 | }}; |
| 15 | |
| 16 | INITCALL1(STG_REGISTER, bind_register_keywords, &bind_kws); |