mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
WIP: get http load test into better (but bad) state
Is now able to maintain correspondence with aquatic_http and opentracker
This commit is contained in:
parent
9707898a32
commit
cb3ec8cbf1
6 changed files with 89 additions and 44 deletions
|
|
@ -55,7 +55,7 @@ impl AnnounceRequest {
|
|||
output.write_all(key.as_str().as_bytes())?;
|
||||
}
|
||||
|
||||
output.write_all(b" HTTP/1.1\r\n\r\n")?;
|
||||
output.write_all(b" HTTP/1.1\r\nConnection: keep-alive\r\n\r\n")?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
@ -85,7 +85,7 @@ impl ScrapeRequest {
|
|||
first = false;
|
||||
}
|
||||
|
||||
output.write_all(b" HTTP/1.1\r\n\r\n")?;
|
||||
output.write_all(b" HTTP/1.1\r\nConnection: keep-alive\r\n\r\n")?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue