test(rust): adapt response from Cloudflare proxy (#9498)

It appears that Cloudflare changed the response that it is sending for
the 1.1.1.1 IP so we need to adapt our integration test for packet loops
in order to make CI pass.
This commit is contained in:
Thomas Eizinger
2025-06-10 16:18:07 +02:00
committed by GitHub
parent a78b4a29f1
commit 1fa345aa5e

View File

@@ -39,6 +39,6 @@ async fn no_packet_loops_tcp() {
let s = String::from_utf8(bytes).unwrap();
assert_eq!(
s,
"<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n<hr><center>cloudflare</center>\r\n</body>\r\n</html>\r\n"
"Cloudflare encountered an error processing this request: Bad Request"
);
}