Reset QUIC timeout on every datagram.

This commit is contained in:
Roman Arutyunyan 2020-03-19 21:46:28 +03:00
parent 3ba0d03a6e
commit 5f9b188c21

View File

@ -478,6 +478,8 @@ ngx_quic_handshake_handler(ngx_event_t *rev)
return;
}
ngx_add_timer(rev, c->quic->streams.timeout);
if (c->close) {
ngx_quic_close_connection(c);
return;