Mercurial > hg > nginx
comparison src/event/ngx_event_quic.c @ 8246:0d9bc77ae30d quic
Reset QUIC timeout on every datagram.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Thu, 19 Mar 2020 21:46:28 +0300 |
parents | a14afe21e692 |
children | e9891e8ee975 |
comparison
equal
deleted
inserted
replaced
8245:a14afe21e692 | 8246:0d9bc77ae30d |
---|---|
476 ngx_log_error(NGX_LOG_INFO, c->log, NGX_ETIMEDOUT, "client timed out"); | 476 ngx_log_error(NGX_LOG_INFO, c->log, NGX_ETIMEDOUT, "client timed out"); |
477 ngx_quic_close_connection(c); | 477 ngx_quic_close_connection(c); |
478 return; | 478 return; |
479 } | 479 } |
480 | 480 |
481 ngx_add_timer(rev, c->quic->streams.timeout); | |
482 | |
481 if (c->close) { | 483 if (c->close) { |
482 ngx_quic_close_connection(c); | 484 ngx_quic_close_connection(c); |
483 return; | 485 return; |
484 } | 486 } |
485 | 487 |