aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_connection.h
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2020-03-12 16:54:43 +0300
committerVladimir Homutov <vl@nginx.com>2020-03-12 16:54:43 +0300
commit4f4f56f013eb0dbe5eb66bb2f22584aec26b13e6 (patch)
tree2acd535245231df1dd49ca9759ba5c45a4787412 /src/core/ngx_connection.h
parent6bf6635d86c5e868699b45fc0f68d4bcf6a9b770 (diff)
downloadnginx-4f4f56f013eb0dbe5eb66bb2f22584aec26b13e6.tar.gz
nginx-4f4f56f013eb0dbe5eb66bb2f22584aec26b13e6.zip
HTTP/QUIC interface reworked.
- events handling moved into src/event/ngx_event_quic.c - http invokes once ngx_quic_run() and passes stream callback (diff to original http_request.c is now minimal) - streams are stored in rbtree using ID as a key - when a new stream is registered, appropriate callback is called - ngx_quic_stream_t type represents STREAM and stored in c->qs
Diffstat (limited to 'src/core/ngx_connection.h')
-rw-r--r--src/core/ngx_connection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h
index 0d7e2166b..b3a36cf05 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -151,6 +151,7 @@ struct ngx_connection_s {
#if (NGX_SSL || NGX_COMPAT)
ngx_quic_connection_t *quic;
+ ngx_quic_stream_t *qs;
ngx_ssl_connection_t *ssl;
#endif