]> git.kaiwu.me - nginx.git/commit
QUIC: refactored packet processing.
authorRoman Arutyunyan <arut@nginx.com>
Thu, 28 Jan 2021 09:35:18 +0000 (12:35 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Thu, 28 Jan 2021 09:35:18 +0000 (12:35 +0300)
commitfef33604662c4722a2bf0d682f4a0526eb20a692
tree93f8656d6fa9734fa425cad4aab74543a8a410ce
parent89dda20510bf7dac952a2dc0b5f29deba376e25f
QUIC: refactored packet processing.

- split ngx_quic_process_packet() in two functions with the second one called
  ngx_quic_process_payload() in charge of decrypring and handling the payload
- renamed ngx_quic_payload_handler() to ngx_quic_handle_frames()
- moved error cleanup from ngx_quic_input() to ngx_quic_process_payload()
- moved handling closed connection from ngx_quic_handle_frames() to
  ngx_quic_process_payload()
- minor fixes
src/event/quic/ngx_event_quic.c