Mercurial > hg > nginx
comparison src/event/ngx_event.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 | 0d2b2664b41c |
children | 05e0988a6898 |
comparison
equal
deleted
inserted
replaced
8629:feec2cc762f6 | 8630:279ad36f2f4b |
---|---|
272 | 272 |
273 ngx_connection_t *c; | 273 ngx_connection_t *c; |
274 | 274 |
275 c = rev->data; | 275 c = rev->data; |
276 | 276 |
277 if (c->qs) { | 277 if (c->quic) { |
278 | 278 |
279 if (!rev->active && !rev->ready) { | 279 if (!rev->active && !rev->ready) { |
280 rev->active = 1; | 280 rev->active = 1; |
281 | 281 |
282 } else if (rev->active && (rev->ready || (flags & NGX_CLOSE_EVENT))) { | 282 } else if (rev->active && (rev->ready || (flags & NGX_CLOSE_EVENT))) { |
366 } | 366 } |
367 } | 367 } |
368 | 368 |
369 #if (NGX_QUIC) | 369 #if (NGX_QUIC) |
370 | 370 |
371 if (c->qs) { | 371 if (c->quic) { |
372 | 372 |
373 if (!wev->active && !wev->ready) { | 373 if (!wev->active && !wev->ready) { |
374 wev->active = 1; | 374 wev->active = 1; |
375 | 375 |
376 } else if (wev->active && wev->ready) { | 376 } else if (wev->active && wev->ready) { |
951 ngx_send_lowat(ngx_connection_t *c, size_t lowat) | 951 ngx_send_lowat(ngx_connection_t *c, size_t lowat) |
952 { | 952 { |
953 int sndlowat; | 953 int sndlowat; |
954 | 954 |
955 #if (NGX_QUIC) | 955 #if (NGX_QUIC) |
956 if (c->qs) { | 956 if (c->quic) { |
957 return NGX_OK; | 957 return NGX_OK; |
958 } | 958 } |
959 #endif | 959 #endif |
960 | 960 |
961 #if (NGX_HAVE_LOWAT_EVENT) | 961 #if (NGX_HAVE_LOWAT_EVENT) |