Skip to content

Commit

Permalink
fix resolution to the bugfix of last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
GlenDC committed Dec 18, 2024
1 parent c5b282f commit 80456c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rama-haproxy/src/server/layer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ where
let mut read = 0;
let header = loop {
let n = stream.read(&mut buffer[read..]).await?;
read += n;

let header = HeaderResult::parse(&buffer[..read]);
if header.is_complete() {
Expand All @@ -95,7 +96,6 @@ where
.into_boxed());
}

read += n;
tracing::debug!("Incomplete header. Read {} bytes so far.", read);
};

Expand Down

0 comments on commit 80456c7

Please sign in to comment.