diff --git a/src/network.rs b/src/network.rs index 56d6c65..226ed00 100644 --- a/src/network.rs +++ b/src/network.rs @@ -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. } }