This commit is contained in:
Mitja Kleider 2025-07-02 15:47:49 +01:00 committed by GitHub
commit 651176a921
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());
}
};