QUIC: fixed GSO packets count.

Thanks to Andrey Kolyshkin <a.kolyshkin@corp.vk.com>
This commit is contained in:
Vladimir Homutov 2021-11-09 21:17:05 +03:00
parent 6f9f8bf96e
commit a3163fa4b2

View File

@ -378,8 +378,10 @@ ngx_quic_create_segments(ngx_connection_t *c, ngx_quic_socket_t *qsock)
return NGX_ERROR;
}
if (n) {
p += n;
nseg++;
}
} else {
n = 0;