diff options
author | Vladimir Homutov <vl@nginx.com> | 2020-09-30 15:14:09 +0300 |
---|---|---|
committer | Vladimir Homutov <vl@nginx.com> | 2020-09-30 15:14:09 +0300 |
commit | 99d4f2399dc466c52bcb30433c6ecc1613130ab8 (patch) | |
tree | ec604358332777821e487b0004af4432e3099fb2 /src/http/ngx_http_request.c | |
parent | fe626bda8426fe7f0a9a9e4930eba30eb2b2f109 (diff) | |
download | nginx-99d4f2399dc466c52bcb30433c6ecc1613130ab8.tar.gz nginx-99d4f2399dc466c52bcb30433c6ecc1613130ab8.zip |
QUIC: packet processing refactoring.
All packet header parsing is now performed by ngx_quic_parse_packet()
function, located in the ngx_quic_transport.c file.
The packet processing is centralized in the ngx_quic_process_packet()
function which decides if the packet should be accepted, ignored or
connection should be closed, depending on the connection state.
As a result of refactoring, behavior has changed in some places:
- minimal size of Initial packet is now always tested
- connection IDs are always tested in existing connections
- old keys are discarded on encryption level switch
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions