mirror of
https://github.com/nginx/nginx.git
synced 2024-11-24 04:49:01 +08:00
HTTP/3: fixed compilation with QUIC, but without HTTP/3.
This commit is contained in:
parent
50dd9ba7e8
commit
bfa2d1d599
@ -332,8 +332,10 @@ ngx_http_quic_create_srv_conf(ngx_conf_t *cf)
|
||||
|
||||
conf->retry = NGX_CONF_UNSET;
|
||||
conf->gso_enabled = NGX_CONF_UNSET;
|
||||
#if (NGX_HTTP_V3)
|
||||
conf->stream_close_code = NGX_HTTP_V3_ERR_NO_ERROR;
|
||||
conf->stream_reject_code_bidi = NGX_HTTP_V3_ERR_REQUEST_REJECTED;
|
||||
#endif
|
||||
|
||||
return conf;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user