Mercurial > hg > nginx-quic
comparison src/core/ngx_connection.h @ 7674:4ae9ac69ab93 quic
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
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Thu, 12 Mar 2020 16:54:43 +0300 |
parents | 5d91389e0fd3 |
children | db8fe75c9c7a |
comparison
equal
deleted
inserted
replaced
7673:cc8d211cb45c | 7674:4ae9ac69ab93 |
---|---|
149 | 149 |
150 ngx_proxy_protocol_t *proxy_protocol; | 150 ngx_proxy_protocol_t *proxy_protocol; |
151 | 151 |
152 #if (NGX_SSL || NGX_COMPAT) | 152 #if (NGX_SSL || NGX_COMPAT) |
153 ngx_quic_connection_t *quic; | 153 ngx_quic_connection_t *quic; |
154 ngx_quic_stream_t *qs; | |
154 ngx_ssl_connection_t *ssl; | 155 ngx_ssl_connection_t *ssl; |
155 #endif | 156 #endif |
156 | 157 |
157 ngx_udp_connection_t *udp; | 158 ngx_udp_connection_t *udp; |
158 | 159 |