quiche icon indicating copy to clipboard operation
quiche copied to clipboard

Make quiche-client respect concurrency limits passed via CLI

Open evanrittenhouse opened this issue 2 years ago • 0 comments

Tested by spinning up a quiche-server instance and then running:

RUST_LOG=trace cargo run --bin quiche-client -- https://127.0.0.1:4433 --no-verify --requests 50 --concurrent-requests <concurrent_requests>

with concurrent_requests set to 1, 5,and 50. I then ensured that the trace log I added got printed in the expected cases. I also:

  1. added a print to check self.reqs_in_flight and ensured that it was always less than or equal to the concurrent_requests limit.
  2. Ensured that 50/50 responses were received.

evanrittenhouse avatar Sep 17 '23 19:09 evanrittenhouse