Mercurial > hg > nginx
comparison src/event/quic/ngx_event_quic.h @ 9017:c2f5d79cde64 quic
QUIC: separate UDP framework for QUIC.
Previously, QUIC used the existing UDP framework, which was created for UDP in
Stream. However the way QUIC connections are created and looked up is different
from the way UDP connections in Stream are created and looked up. Now these
two implementations are decoupled.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 20 Apr 2022 16:01:17 +0400 |
parents | 55b38514729b |
children | 37d5dddabaea |
comparison
equal
deleted
inserted
replaced
9016:55b38514729b | 9017:c2f5d79cde64 |
---|---|
100 ngx_quic_stream_recv_state_e recv_state; | 100 ngx_quic_stream_recv_state_e recv_state; |
101 ngx_uint_t cancelable; /* unsigned cancelable:1; */ | 101 ngx_uint_t cancelable; /* unsigned cancelable:1; */ |
102 }; | 102 }; |
103 | 103 |
104 | 104 |
105 void ngx_quic_recvmsg(ngx_event_t *ev); | |
106 void ngx_quic_rbtree_insert_value(ngx_rbtree_node_t *temp, | |
107 ngx_rbtree_node_t *node, ngx_rbtree_node_t *sentinel); | |
105 void ngx_quic_run(ngx_connection_t *c, ngx_quic_conf_t *conf); | 108 void ngx_quic_run(ngx_connection_t *c, ngx_quic_conf_t *conf); |
106 ngx_connection_t *ngx_quic_open_stream(ngx_connection_t *c, ngx_uint_t bidi); | 109 ngx_connection_t *ngx_quic_open_stream(ngx_connection_t *c, ngx_uint_t bidi); |
107 void ngx_quic_finalize_connection(ngx_connection_t *c, ngx_uint_t err, | 110 void ngx_quic_finalize_connection(ngx_connection_t *c, ngx_uint_t err, |
108 const char *reason); | 111 const char *reason); |
109 void ngx_quic_shutdown_connection(ngx_connection_t *c, ngx_uint_t err, | 112 void ngx_quic_shutdown_connection(ngx_connection_t *c, ngx_uint_t err, |