blob: 4a94bb31d014f7b3ca6baaf905f0a12ac0a8bbe3 [file] [log] [blame]
Amaury Denoyellec8b4ce42022-01-11 11:54:59 +01001#include <haproxy/api.h>
2#include <haproxy/listener.h>
3#include <haproxy/proxy-t.h>
4
Amaury Denoyelleb76ae692022-01-11 14:16:37 +01005static 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 Denoyellec8b4ce42022-01-11 11:54:59 +010011static struct bind_kw_list bind_kws = { "QUIC", { }, {
Amaury Denoyelleb76ae692022-01-11 14:16:37 +010012 { "quic-force-retry", bind_parse_quic_force_retry, 0 },
Amaury Denoyellec8b4ce42022-01-11 11:54:59 +010013 { NULL, NULL, 0 },
14}};
15
16INITCALL1(STG_REGISTER, bind_register_keywords, &bind_kws);