mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Release 2.29.3
- [BUGFIX] Do not send RESET_STREAM if writing to stream is already finished. - perf_client: wait for all ACKs before exiting. - Improve how generated RESET_STREAM is logged. - Fix compilation in different combos of adv_tick/conn_stats flags. - Move qpack warning disablement into src/liblsquic/CMakeLists.txt.
This commit is contained in:
parent
f1d5a1a4de
commit
99a1ad0f24
20 changed files with 209 additions and 302 deletions
|
@ -785,7 +785,7 @@ http_client_on_read (lsquic_stream_t *stream, lsquic_stream_ctx_t *st_h)
|
|||
if (client_ctx->hcc_reset_after_nbytes &&
|
||||
s_stat_downloaded_bytes > client_ctx->hcc_reset_after_nbytes)
|
||||
{
|
||||
lsquic_stream_reset(stream, 0x1);
|
||||
lsquic_stream_maybe_reset(stream, 0x1, 1);
|
||||
break;
|
||||
}
|
||||
/* test retire_cid after some number of read bytes */
|
||||
|
|
|
@ -273,7 +273,9 @@ client_file_on_write_buf (lsquic_stream_ctx_t *st_h)
|
|||
if (g_reset_stream.stream_id == lsquic_stream_id(st_h->stream) &&
|
||||
lseek(st_h->file->fd, 0, SEEK_CUR) >= g_reset_stream.offset)
|
||||
{
|
||||
lsquic_stream_reset(st_h->stream, 0x01 /* QUIC_INTERNAL_ERROR */);
|
||||
/* Note: this is an internal function */
|
||||
lsquic_stream_maybe_reset(st_h->stream,
|
||||
0x01 /* QUIC_INTERNAL_ERROR */, 1);
|
||||
g_reset_stream.stream_id = 0; /* Reset only once */
|
||||
}
|
||||
|
||||
|
|
|
@ -335,6 +335,7 @@ main (int argc, char **argv)
|
|||
TAILQ_INIT(&sports);
|
||||
prog_init(&s_prog, 0, &sports, &perf_stream_if, NULL);
|
||||
s_prog.prog_api.ea_alpn = "perf";
|
||||
s_prog.prog_settings.es_delay_onclose = 1;
|
||||
|
||||
while (-1 != (opt = getopt(argc, argv, PROG_OPTS "hp:T:")))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue