This commit is contained in:
Mitja Kleider 2025-09-02 16:31:06 +09:00 committed by GitHub
commit 2d791c541f
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());
}
};