]> git.kaiwu.me - nginx.git/commit
QUIC: simplified packet header parsing.
authorVladimir Homutov <vl@nginx.com>
Fri, 25 Sep 2020 18:47:28 +0000 (21:47 +0300)
committerVladimir Homutov <vl@nginx.com>
Fri, 25 Sep 2020 18:47:28 +0000 (21:47 +0300)
commitfe626bda8426fe7f0a9a9e4930eba30eb2b2f109
tree3ea6263f0c08327d098f4764744756d1cc6cb435
parent80958b29a2ed69237b463f848951e63480339b07
QUIC: simplified packet header parsing.

Now flags are processed in ngx_quic_input(), and raw->pos points to the first
byte after the flags. Redundant checks from ngx_quic_parse_short_header() and
ngx_quic_parse_long_header() are removed.
src/event/ngx_event_quic.c
src/event/ngx_event_quic_transport.c