Mercurial > hg > nginx-quic
comparison src/event/quic/ngx_event_quic_transport.h @ 8279:dffb66fb783b quic
QUIC: stateless retry.
Previously, quic connection object was created when Retry packet was sent.
This is neither necessary nor convenient, and contradicts the idea of retry:
protecting from bad clients and saving server resources.
Now, the connection is not created, token is verified cryptographically
instead of holding it in connection.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Fri, 29 Jan 2021 15:53:47 +0300 |
parents | c57b6fc90f90 |
children | 0697294f79a4 |
comparison
equal
deleted
inserted
replaced
8278:dbe33ef9cd9a | 8279:dffb66fb783b |
---|---|
323 unsigned need_ack:1; | 323 unsigned need_ack:1; |
324 unsigned key_phase:1; | 324 unsigned key_phase:1; |
325 unsigned key_update:1; | 325 unsigned key_update:1; |
326 unsigned parsed:1; | 326 unsigned parsed:1; |
327 unsigned decrypted:1; | 327 unsigned decrypted:1; |
328 unsigned validated:1; | |
329 unsigned retried:1; | |
328 } ngx_quic_header_t; | 330 } ngx_quic_header_t; |
329 | 331 |
330 | 332 |
331 u_char *ngx_quic_error_text(uint64_t error_code); | 333 u_char *ngx_quic_error_text(uint64_t error_code); |
332 | 334 |