Mercurial > hg > nginx
comparison src/event/ngx_event_quic.h @ 8629:feec2cc762f6 quic
QUIC: got rid of the c->quic field.
Now QUIC connection is accessed via the c->udp field.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Tue, 10 Nov 2020 18:38:42 +0000 |
parents | 45db1b5c1706 |
children | 831d1960826f |
comparison
equal
deleted
inserted
replaced
8628:45db1b5c1706 | 8629:feec2cc762f6 |
---|---|
57 #define NGX_QUIC_SERVER_CID_LEN NGX_QUIC_MAX_CID_LEN | 57 #define NGX_QUIC_SERVER_CID_LEN NGX_QUIC_MAX_CID_LEN |
58 | 58 |
59 #define NGX_QUIC_SR_TOKEN_LEN 16 | 59 #define NGX_QUIC_SR_TOKEN_LEN 16 |
60 | 60 |
61 #define NGX_QUIC_MAX_SERVER_IDS 8 | 61 #define NGX_QUIC_MAX_SERVER_IDS 8 |
62 | |
63 #define ngx_quic_get_connection(c) ((ngx_quic_connection_t *)(c)->udp) | |
62 | 64 |
63 | 65 |
64 typedef struct { | 66 typedef struct { |
65 /* configurable */ | 67 /* configurable */ |
66 ngx_msec_t max_idle_timeout; | 68 ngx_msec_t max_idle_timeout; |