}
/* adjust this proxy's listeners */
+ bind_conf = NULL;
next_id = 1;
list_for_each_entry(listener, &curproxy->conf.listeners, by_fe) {
if (!listener->luid) {
cfgerr++;
}
}
+# ifdef USE_QUIC_OPENSSL_COMPAT
+ /* store the last checked bind_conf in bind_conf */
+ if (!(global.tune.options & GTUNE_NO_QUIC) &&
+ !(global.tune.options & GTUNE_LIMITED_QUIC) &&
+ listener->bind_conf != bind_conf) {
+ bind_conf = listener->bind_conf;
+ ha_alert("Binding [%s:%d] for %s %s: this SSL library does not support the "
+ "QUIC protocol. A limited compatibility layer may be enabled using "
+ "the \"limited-quic\" global option if desired.\n",
+ listener->bind_conf->file, listener->bind_conf->line,
+ proxy_type_str(curproxy), curproxy->id);
+ cfgerr++;
+ }
+# endif
li_init_per_thr(listener);
}
*/
static inline int protocol_may_bind_quic(struct listener *l)
{
-#ifdef USE_QUIC_OPENSSL_COMPAT
- struct proxy *px = l->bind_conf->frontend;
-
-#endif
if (global.tune.options & GTUNE_NO_QUIC)
return 0;
-#ifdef USE_QUIC_OPENSSL_COMPAT
- if (!(global.tune.options & GTUNE_LIMITED_QUIC)) {
- ha_warning("Binding [%s:%d] for %s %s: receiving socket not bound"
- " (\"limited-quic\" global option is not set)\n",
- l->bind_conf->file, l->bind_conf->line,
- proxy_type_str(px), px->id);
- return 0;
- }
-#endif
return 1;
}
#endif