mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
QUIC: fixed GSO packets count.
Thanks to Andrey Kolyshkin <a.kolyshkin@corp.vk.com>
This commit is contained in:
parent
6f9f8bf96e
commit
a3163fa4b2
@ -378,8 +378,10 @@ ngx_quic_create_segments(ngx_connection_t *c, ngx_quic_socket_t *qsock)
|
|||||||
return NGX_ERROR;
|
return NGX_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
p += n;
|
if (n) {
|
||||||
nseg++;
|
p += n;
|
||||||
|
nseg++;
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
n = 0;
|
n = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user