Mercurial > hg > nginx
comparison src/stream/ngx_stream_core_module.c @ 8630:279ad36f2f4b quic
QUIC: renamed c->qs to c->quic.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Tue, 10 Nov 2020 19:40:00 +0000 |
parents | 893b3313f53c |
children | d514f88053e5 |
comparison
equal
deleted
inserted
replaced
8629:feec2cc762f6 | 8630:279ad36f2f4b |
---|---|
324 | 324 |
325 cscf = ngx_stream_get_module_srv_conf(s, ngx_stream_core_module); | 325 cscf = ngx_stream_get_module_srv_conf(s, ngx_stream_core_module); |
326 | 326 |
327 if (c->type == SOCK_STREAM | 327 if (c->type == SOCK_STREAM |
328 #if (NGX_STREAM_QUIC) | 328 #if (NGX_STREAM_QUIC) |
329 && c->qs == NULL | 329 && c->quic == NULL |
330 #endif | 330 #endif |
331 && cscf->tcp_nodelay | 331 && cscf->tcp_nodelay |
332 && ngx_tcp_nodelay(c) != NGX_OK) | 332 && ngx_tcp_nodelay(c) != NGX_OK) |
333 { | 333 { |
334 ngx_stream_finalize_session(s, NGX_STREAM_INTERNAL_SERVER_ERROR); | 334 ngx_stream_finalize_session(s, NGX_STREAM_INTERNAL_SERVER_ERROR); |