diff options
author | Vladimir Homutov <vl@nginx.com> | 2021-04-02 11:31:37 +0300 |
---|---|---|
committer | Vladimir Homutov <vl@nginx.com> | 2021-04-02 11:31:37 +0300 |
commit | 20f3d107df1ee8c565af8763176e48cb6589adab (patch) | |
tree | 51d3e845202ef6ff28fe07e750ca87e19ef1b661 /src/core/nginx.c | |
parent | f3489441b202b40a119e4c4dd4e580c3f7b97721 (diff) | |
download | nginx-20f3d107df1ee8c565af8763176e48cb6589adab.tar.gz nginx-20f3d107df1ee8c565af8763176e48cb6589adab.zip |
QUIC: simplified quic connection dispatching.
Currently listener contains rbtree with multiple nodes for single QUIC
connection: each corresponding to specific server id. Each udp node points
to same ngx_connection_t, which points to QUIC connection via c->udp field.
Thus when an event handler is called, it only gets ngx_connection_t with
c->udp pointing to QUIC connection. This makes it hard to obtain actual
node which was used to dispatch packet (it requires to repeat DCID lookup).
Additionally, ngx_quic_connection_t->udp field is only needed to keep a
pointer in c->udp. The node is not added into the tree and does not carry
useful information.
Diffstat (limited to 'src/core/nginx.c')
0 files changed, 0 insertions, 0 deletions