net: remove leftover debug loop counter in try_read_buf (#8426)

This commit is contained in:
Alice Ryhl
2026-09-07 11:51:07 +02:00
committed by GitHub
parent b9c075388e
commit bd8f8f2028
-5
View File
@@ -372,12 +372,7 @@ async fn try_read_buf() {
#[cfg(not(target_os = "wasi"))] // WASI does not yet support `POLLHUP` or `POLLRDHUP`
{
let mut count = 0;
loop {
count += 1;
if count > 100 {
panic!("loop 4")
}
let ready = server.ready(Interest::READABLE).await.unwrap();
if ready.is_read_closed() {