diff options
author | Vladimir Homutov <vl@nginx.com> | 2020-03-12 16:54:43 +0300 |
---|---|---|
committer | Vladimir Homutov <vl@nginx.com> | 2020-03-12 16:54:43 +0300 |
commit | 4f4f56f013eb0dbe5eb66bb2f22584aec26b13e6 (patch) | |
tree | 2acd535245231df1dd49ca9759ba5c45a4787412 /src/core/ngx_connection.h | |
parent | 6bf6635d86c5e868699b45fc0f68d4bcf6a9b770 (diff) | |
download | nginx-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.h | 1 |
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 |