Mercurial > hg > nginx-quic
comparison src/mail/ngx_mail_ssl_module.c @ 8098:d0d3fc0697a0 quic
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
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Wed, 30 Sep 2020 15:14:09 +0300 |
parents | ef7ee19776db |
children | 3bff3f397c05 |
comparison
equal
deleted
inserted
replaced
8097:a89a58c642ef | 8098:d0d3fc0697a0 |
---|