Mercurial > hg > nginx-quic
comparison src/event/quic/ngx_event_quic_ack.c @ 8860:a2fbae359828 quic
QUIC: fixed indentation.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 16 Feb 2022 15:45:47 +0300 |
parents | b42a041d23a2 |
children | 2b3a8d5795c9 |
comparison
equal
deleted
inserted
replaced
8859:8d11e2171697 | 8860:a2fbae359828 |
---|---|
832 qc = ngx_quic_get_connection(c); | 832 qc = ngx_quic_get_connection(c); |
833 now = ngx_current_msec; | 833 now = ngx_current_msec; |
834 | 834 |
835 for (i = 0; i < NGX_QUIC_SEND_CTX_LAST; i++) { | 835 for (i = 0; i < NGX_QUIC_SEND_CTX_LAST; i++) { |
836 | 836 |
837 ctx = &qc->send_ctx[i]; | 837 ctx = &qc->send_ctx[i]; |
838 | 838 |
839 if (ngx_queue_empty(&ctx->sent)) { | 839 if (ngx_queue_empty(&ctx->sent)) { |
840 continue; | 840 continue; |
841 } | 841 } |
842 | 842 |
1164 | 1164 |
1165 if (!ctx->send_ack) { | 1165 if (!ctx->send_ack) { |
1166 return NGX_OK; | 1166 return NGX_OK; |
1167 } | 1167 } |
1168 | 1168 |
1169 if (ctx->level == ssl_encryption_application) { | 1169 if (ctx->level == ssl_encryption_application) { |
1170 | 1170 |
1171 delay = ngx_current_msec - ctx->ack_delay_start; | 1171 delay = ngx_current_msec - ctx->ack_delay_start; |
1172 qc = ngx_quic_get_connection(c); | 1172 qc = ngx_quic_get_connection(c); |
1173 | 1173 |
1174 if (ctx->send_ack < NGX_QUIC_MAX_ACK_GAP | 1174 if (ctx->send_ack < NGX_QUIC_MAX_ACK_GAP |