diff options
Diffstat (limited to 'src/event')
| -rw-r--r-- | src/event/ngx_event.c | 6 | ||||
| -rw-r--r-- | src/event/ngx_event_openssl.c | 2 | ||||
| -rw-r--r-- | src/event/ngx_event_quic.c | 12 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/event/ngx_event.c b/src/event/ngx_event.c index de32630fd..bbb75dea8 100644 --- a/src/event/ngx_event.c +++ b/src/event/ngx_event.c @@ -274,7 +274,7 @@ ngx_handle_read_event(ngx_event_t *rev, ngx_uint_t flags) c = rev->data; - if (c->qs) { + if (c->quic) { if (!rev->active && !rev->ready) { rev->active = 1; @@ -368,7 +368,7 @@ ngx_handle_write_event(ngx_event_t *wev, size_t lowat) #if (NGX_QUIC) - if (c->qs) { + if (c->quic) { if (!wev->active && !wev->ready) { wev->active = 1; @@ -953,7 +953,7 @@ ngx_send_lowat(ngx_connection_t *c, size_t lowat) int sndlowat; #if (NGX_QUIC) - if (c->qs) { + if (c->quic) { return NGX_OK; } #endif diff --git a/src/event/ngx_event_openssl.c b/src/event/ngx_event_openssl.c index d404bbe24..00260e3b7 100644 --- a/src/event/ngx_event_openssl.c +++ b/src/event/ngx_event_openssl.c @@ -2870,7 +2870,7 @@ ngx_ssl_shutdown(ngx_connection_t *c) ngx_uint_t tries; #if (NGX_QUIC) - if (c->qs) { + if (c->quic) { /* QUIC streams inherit SSL object */ return NGX_OK; } diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c index c9ea2de1e..7643cecfb 100644 --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -5231,7 +5231,7 @@ ngx_quic_open_stream(ngx_connection_t *c, ngx_uint_t bidi) ngx_quic_stream_t *qs, *sn; ngx_quic_connection_t *qc; - qs = c->qs; + qs = c->quic; qc = ngx_quic_get_connection(qs->parent); if (bidi) { @@ -5482,7 +5482,7 @@ ngx_quic_create_stream(ngx_connection_t *c, uint64_t id, size_t rcvbuf_size) return NULL; } - sn->c->qs = sn; + sn->c->quic = sn; sn->c->type = SOCK_STREAM; sn->c->pool = pool; sn->c->ssl = c->ssl; @@ -5548,7 +5548,7 @@ ngx_quic_stream_recv(ngx_connection_t *c, u_char *buf, size_t size) ngx_quic_stream_t *qs; ngx_quic_connection_t *qc; - qs = c->qs; + qs = c->quic; b = qs->b; pc = qs->parent; qc = ngx_quic_get_connection(pc); @@ -5678,7 +5678,7 @@ ngx_quic_stream_send_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit) ngx_quic_stream_t *qs; ngx_quic_connection_t *qc; - qs = c->qs; + qs = c->quic; pc = qs->parent; qc = ngx_quic_get_connection(pc); wev = c->write; @@ -5797,7 +5797,7 @@ ngx_quic_max_stream_flow(ngx_connection_t *c) ngx_quic_stream_t *qs; ngx_quic_connection_t *qc; - qs = c->qs; + qs = c->quic; qc = ngx_quic_get_connection(qs->parent); size = NGX_QUIC_STREAM_BUFSIZE; @@ -5855,7 +5855,7 @@ ngx_quic_stream_cleanup_handler(void *data) ngx_quic_stream_t *qs; ngx_quic_connection_t *qc; - qs = c->qs; + qs = c->quic; pc = qs->parent; qc = ngx_quic_get_connection(pc); |
