This commit is contained in:
Mitja Kleider 2025-08-29 23:33:52 +02:00 committed by GitHub
commit 335f68d105
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ where
fut.await.map_err(SendRequestError::from)?
}
Err(err) => {
io.on_release(err.is_io());
io.on_release(err.is_io() || (err.is_go_away() && err.is_remote()));
return Err(err.into());
}
};