diff options
| author | Roman Arutyunyan <arut@nginx.com> | 2022-04-20 16:01:17 +0400 |
|---|---|---|
| committer | Roman Arutyunyan <arut@nginx.com> | 2022-04-20 16:01:17 +0400 |
| commit | 9d81ef744cdaacf1e52bcaec4224d375af5ba59b (patch) | |
| tree | db3f8a9fc1381a2c848d934fd1c7f9bbaf1a9dca /src/event/quic/ngx_event_quic_connection.h | |
| parent | c24c27bb074b571fc9e9d75e19be31b83c69c253 (diff) | |
| download | nginx-9d81ef744cdaacf1e52bcaec4224d375af5ba59b.tar.gz nginx-9d81ef744cdaacf1e52bcaec4224d375af5ba59b.tar.bz2 | |
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.
Diffstat (limited to 'src/event/quic/ngx_event_quic_connection.h')
| -rw-r--r-- | src/event/quic/ngx_event_quic_connection.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/event/quic/ngx_event_quic_connection.h b/src/event/quic/ngx_event_quic_connection.h index 377b26bd6..2b198ac6f 100644 --- a/src/event/quic/ngx_event_quic_connection.h +++ b/src/event/quic/ngx_event_quic_connection.h @@ -107,6 +107,8 @@ struct ngx_quic_socket_s { ngx_quic_connection_t *quic; ngx_queue_t queue; ngx_quic_server_id_t sid; + ngx_sockaddr_t sockaddr; + socklen_t socklen; ngx_uint_t used; /* unsigned used:1; */ }; |
