mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-25 22:49:21 +02:00
Fix body propagation in Response::from_error. #760
This commit is contained in:
@ -107,7 +107,7 @@ impl TestServer {
|
||||
TestServerRuntime { addr, rt, client }
|
||||
}
|
||||
|
||||
/// Get firat available unused address
|
||||
/// Get first available unused address
|
||||
pub fn unused_addr() -> net::SocketAddr {
|
||||
let addr: net::SocketAddr = "127.0.0.1:0".parse().unwrap();
|
||||
let socket = TcpBuilder::new_v4().unwrap();
|
||||
|
Reference in New Issue
Block a user