update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-11-26 12:02:30 +01:00
parent a26ff16bfb
commit 8b613a1b6f

View File

@@ -207,9 +207,13 @@ fn process_headers(buff: &[u8]) -> anyhow::Result<Option<ProcessHeadersResult>>
for (num, c) in prefix.as_bytes().iter().enumerate() { for (num, c) in prefix.as_bytes().iter().enumerate() {
buff.insert(pos + 1 + num, *c); buff.insert(pos + 1 + num, *c);
} }
} else {
log::warn!("Unable to inject prefix!");
} }
} }
log::trace!("Final request: {}", String::from_utf8_lossy(&buff));
Ok(Some(ProcessHeadersResult { Ok(Some(ProcessHeadersResult {
target_host: target_host.to_string(), target_host: target_host.to_string(),
buff, buff,