mirror of https://github.com/fafhrd91/actix-web
Merge 95d238ef98
into 3f9d88f859
This commit is contained in:
commit
651176a921
|
@ -121,7 +121,7 @@ where
|
||||||
fut.await.map_err(SendRequestError::from)?
|
fut.await.map_err(SendRequestError::from)?
|
||||||
}
|
}
|
||||||
Err(err) => {
|
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());
|
return Err(err.into());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue