Rename some call sites for read_headers.

Fixes tests.
This commit is contained in:
Jacob Hoffman-Andrews
2020-11-15 13:34:15 -08:00
committed by Martin Algesten
parent f652a9e449
commit 4cb856196e
4 changed files with 7 additions and 7 deletions

View File

@@ -93,7 +93,7 @@ pub fn read_request(stream: &TcpStream) -> TestHeaders {
for line in BufReader::new(stream).lines() {
match line {
Err(e) => {
eprintln!("testserver: in read_headers: {}", e);
eprintln!("testserver: in read_request: {}", e);
break;
}
Ok(line) if line == "" => break,