]> git.kaiwu.me - nginx.git/commit
QUIC: stateless retry.
authorVladimir Homutov <vl@nginx.com>
Fri, 29 Jan 2021 12:53:47 +0000 (15:53 +0300)
committerVladimir Homutov <vl@nginx.com>
Fri, 29 Jan 2021 12:53:47 +0000 (15:53 +0300)
commit89dda20510bf7dac952a2dc0b5f29deba376e25f
treeb9abd59dfa08a5cf64206619046b9196692a259f
parentcd6253430051a823dc31b756e93aeecb5f674af3
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.
src/event/quic/ngx_event_quic.c
src/event/quic/ngx_event_quic.h
src/event/quic/ngx_event_quic_transport.h
src/http/modules/ngx_http_quic_module.c
src/stream/ngx_stream_quic_module.c