]> git.kaiwu.me - nginx.git/commit
QUIC: set idle timer when sending an ack-eliciting packet.
authorRoman Arutyunyan <arut@nginx.com>
Thu, 18 Feb 2021 09:22:28 +0000 (12:22 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Thu, 18 Feb 2021 09:22:28 +0000 (12:22 +0300)
commitedc2c75c75daaa3eb940efd9c5ce535826c8b090
tree6212b98de7d90e40c6051fb0f06da4578186c623
parente0425791d484b8e1e77cf39f6ca4da33b5c6e3a3
QUIC: set idle timer when sending an ack-eliciting packet.

As per quic-transport-34:

   An endpoint also restarts its idle timer when sending an ack-eliciting
   packet if no other ack-eliciting packets have been sent since last receiving
   and processing a packet.

Previously, the timer was set for any packet.
src/event/quic/ngx_event_quic.c