mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
http load test: add keep_alive setting
This commit is contained in:
parent
da6180e871
commit
7215d26ff4
2 changed files with 6 additions and 0 deletions
|
|
@ -138,6 +138,10 @@ impl Connection {
|
|||
loop {
|
||||
self.send_request().await?;
|
||||
self.read_response().await?;
|
||||
|
||||
if !self.config.keep_alive {
|
||||
break Ok(());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue