comparison src/event/quic/ngx_event_quic_ack.c @ 8763:4117aa7fa38e quic

QUIC: connection migration. The patch adds proper transitions between multiple networking addresses that can be used by a single quic connection. New networking paths are validated using PATH_CHALLENGE/PATH_RESPONSE frames.
author Vladimir Homutov <vl@nginx.com>
date Thu, 29 Apr 2021 15:35:02 +0300
parents 225e9f1dfe7c
children f52a2b77d406
comparison
equal deleted inserted replaced
8762:12f18e0bca09 8763:4117aa7fa38e
720 qc = ngx_quic_get_connection(c); 720 qc = ngx_quic_get_connection(c);
721 now = ngx_current_msec; 721 now = ngx_current_msec;
722 722
723 for (i = 0; i < NGX_QUIC_SEND_CTX_LAST; i++) { 723 for (i = 0; i < NGX_QUIC_SEND_CTX_LAST; i++) {
724 724
725 ctx = &qc->send_ctx[i]; 725 ctx = &qc->send_ctx[i];
726 726
727 if (ngx_queue_empty(&ctx->sent)) { 727 if (ngx_queue_empty(&ctx->sent)) {
728 continue; 728 continue;
729 } 729 }
730 730