aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_core.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_core.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_core.h')
-rw-r--r--src/core/ngx_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ngx_core.h b/src/core/ngx_core.h
index 549fae084..4594b54fd 100644
--- a/src/core/ngx_core.h
+++ b/src/core/ngx_core.h
@@ -28,6 +28,7 @@ typedef struct ngx_thread_task_s ngx_thread_task_t;
typedef struct ngx_ssl_s ngx_ssl_t;
typedef struct ngx_proxy_protocol_s ngx_proxy_protocol_t;
typedef struct ngx_quic_connection_s ngx_quic_connection_t;
+typedef struct ngx_quic_stream_s ngx_quic_stream_t;
typedef struct ngx_ssl_connection_s ngx_ssl_connection_t;
typedef struct ngx_udp_connection_s ngx_udp_connection_t;