quiche
quiche copied to clipboard
Make quiche-client respect concurrency limits passed via CLI
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:
- added a print to check
self.reqs_in_flightand ensured that it was always less than or equal to theconcurrent_requestslimit. - Ensured that 50/50 responses were received.