mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
http_client: fix priority range generated by -E flag
This commit is contained in:
parent
8d029038bb
commit
1cd65f769f
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ http_client_on_read (lsquic_stream_t *stream, lsquic_stream_ctx_t *st_h)
|
||||||
if (randomly_reprioritize_streams && (st_h->count++ & 0x3F) == 0)
|
if (randomly_reprioritize_streams && (st_h->count++ & 0x3F) == 0)
|
||||||
{
|
{
|
||||||
old_prio = lsquic_stream_priority(stream);
|
old_prio = lsquic_stream_priority(stream);
|
||||||
new_prio = random() & 0xFF;
|
new_prio = 1 + (random() & 0xFF);
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
const int s =
|
const int s =
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue