Mercurial > hg > nginx
comparison src/event/quic/ngx_event_quic_connection.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 | f9c788f3f5cc |
children | 7da4791e0264 |
comparison
equal
deleted
inserted
replaced
9016:55b38514729b | 9017:c2f5d79cde64 |
---|---|
105 struct ngx_quic_socket_s { | 105 struct ngx_quic_socket_s { |
106 ngx_udp_connection_t udp; | 106 ngx_udp_connection_t udp; |
107 ngx_quic_connection_t *quic; | 107 ngx_quic_connection_t *quic; |
108 ngx_queue_t queue; | 108 ngx_queue_t queue; |
109 ngx_quic_server_id_t sid; | 109 ngx_quic_server_id_t sid; |
110 ngx_sockaddr_t sockaddr; | |
111 socklen_t socklen; | |
110 ngx_uint_t used; /* unsigned used:1; */ | 112 ngx_uint_t used; /* unsigned used:1; */ |
111 }; | 113 }; |
112 | 114 |
113 | 115 |
114 typedef struct { | 116 typedef struct { |