Skip to content
Snippets Groups Projects
Commit 1cd65f76 authored by Dmitri Tikhonov's avatar Dmitri Tikhonov
Browse files

http_client: fix priority range generated by -E flag

parent 8d029038
No related merge requests found
......@@ -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)
{
old_prio = lsquic_stream_priority(stream);
new_prio = random() & 0xFF;
new_prio = 1 + (random() & 0xFF);
#ifndef NDEBUG
const int s =
#endif
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment