network: fix malformed headers in proxy handoffs
This commit is contained in:
parent
99cc25aba3
commit
0a8d5ec13e
1 changed files with 3 additions and 1 deletions
|
@ -80,7 +80,9 @@ pub async fn handle_connection(
|
|||
if header_end_pos == 0 {
|
||||
if let Some(pos) = find_header_end(&request_data) {
|
||||
header_end_pos = pos;
|
||||
break;
|
||||
// XXX: Breaking here appears to be malforming the request
|
||||
// and causing 404 errors.
|
||||
// So, continue reading the body if present but do not break.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue