Mercurial > hg > nginx
comparison src/http/modules/ngx_http_quic_module.c @ 8907:122bfa14465b quic
HTTP/3: fixed compilation with QUIC, but without HTTP/3.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 17 Nov 2021 18:49:48 +0300 |
parents | 41caf5410110 |
children |
comparison
equal
deleted
inserted
replaced
8906:41caf5410110 | 8907:122bfa14465b |
---|---|
330 conf->tp.disable_active_migration = NGX_CONF_UNSET; | 330 conf->tp.disable_active_migration = NGX_CONF_UNSET; |
331 conf->tp.active_connection_id_limit = NGX_CONF_UNSET_UINT; | 331 conf->tp.active_connection_id_limit = NGX_CONF_UNSET_UINT; |
332 | 332 |
333 conf->retry = NGX_CONF_UNSET; | 333 conf->retry = NGX_CONF_UNSET; |
334 conf->gso_enabled = NGX_CONF_UNSET; | 334 conf->gso_enabled = NGX_CONF_UNSET; |
335 #if (NGX_HTTP_V3) | |
335 conf->stream_close_code = NGX_HTTP_V3_ERR_NO_ERROR; | 336 conf->stream_close_code = NGX_HTTP_V3_ERR_NO_ERROR; |
336 conf->stream_reject_code_bidi = NGX_HTTP_V3_ERR_REQUEST_REJECTED; | 337 conf->stream_reject_code_bidi = NGX_HTTP_V3_ERR_REQUEST_REJECTED; |
338 #endif | |
337 | 339 |
338 return conf; | 340 return conf; |
339 } | 341 } |
340 | 342 |
341 | 343 |