Mercurial > hg > nginx-quic
comparison src/event/quic/ngx_event_quic.c @ 8860:a2fbae359828 quic
QUIC: fixed indentation.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 16 Feb 2022 15:45:47 +0300 |
parents | f9c788f3f5cc |
children | c2f5d79cde64 |
comparison
equal
deleted
inserted
replaced
8859:8d11e2171697 | 8860:a2fbae359828 |
---|---|
489 * closed and its state is discarded when it remains idle | 489 * closed and its state is discarded when it remains idle |
490 */ | 490 */ |
491 | 491 |
492 /* this case also handles some errors from ngx_quic_run() */ | 492 /* this case also handles some errors from ngx_quic_run() */ |
493 | 493 |
494 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, c->log, 0, | 494 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, c->log, 0, |
495 "quic close silent drain:%d timedout:%d", | 495 "quic close silent drain:%d timedout:%d", |
496 qc->draining, c->read->timedout); | 496 qc->draining, c->read->timedout); |
497 } else { | 497 } else { |
498 | 498 |
499 /* | 499 /* |
500 * RFC 9000, 10.2. Immediate Close | 500 * RFC 9000, 10.2. Immediate Close |
501 * | 501 * |
814 qc->path->sockaddr, qc->path->socklen, 1) | 814 qc->path->sockaddr, qc->path->socklen, 1) |
815 != NGX_OK) | 815 != NGX_OK) |
816 { | 816 { |
817 /* packet comes from unknown path, possibly migration */ | 817 /* packet comes from unknown path, possibly migration */ |
818 ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, 0, | 818 ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, 0, |
819 "quic too early migration attempt"); | 819 "quic too early migration attempt"); |
820 return NGX_DONE; | 820 return NGX_DONE; |
821 } | 821 } |
822 } | 822 } |
823 | 823 |
824 if (ngx_quic_check_csid(qc, pkt) != NGX_OK) { | 824 if (ngx_quic_check_csid(qc, pkt) != NGX_OK) { |