Previously, QUIC servers were rejected if SSL was not explicitely
activated using 'ssl' configuration keyword.
Change this behavior : now SSL is automatically activated for QUIC
servers when the keyword is missing. A warning is displayed as it is
considered better to explicitely note that SSL is in use.
#ifdef USE_QUIC
if (srv_is_quic(srv)) {
if (!srv->use_ssl) {
- ha_alert("QUIC protocol detected without explicit SSL requirement. Use 'ssl' to fix this.\n");
- return ERR_ALERT | ERR_FATAL;
+ srv->use_ssl = 1;
+ ha_warning("QUIC protocol detected, enabling ssl. Use 'ssl' to shut this warning.\n");
}
if (!srv->ssl_ctx.alpn_str &&