mirror of
https://github.com/fafhrd91/actix-net
synced 2025-08-24 16:05:36 +02:00
Compare commits
4 Commits
rt-1.1.1
...
connect-v2
Author | SHA1 | Date | |
---|---|---|---|
|
f7cc62564d | ||
|
b125e2bdce | ||
|
a5c185e80e | ||
|
523cee0351 |
@@ -1,5 +1,11 @@
|
|||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
|
## [2.0.0-alpha.3] - 2020-05-08
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
* Corrected spelling of `ConnectError::Unresolverd` to `ConnectError::Unresolved`
|
||||||
|
|
||||||
## [2.0.0-alpha.2] - 2020-03-08
|
## [2.0.0-alpha.2] - 2020-03-08
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "actix-connect"
|
name = "actix-connect"
|
||||||
version = "2.0.0-alpha.2"
|
version = "2.0.0-alpha.3"
|
||||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||||
description = "Actix connect - tcp connector service"
|
description = "Actix connect - tcp connector service"
|
||||||
keywords = ["network", "framework", "async", "futures"]
|
keywords = ["network", "framework", "async", "futures"]
|
||||||
|
@@ -88,7 +88,7 @@ impl<T: Address> Service for TcpConnector<T> {
|
|||||||
Either::Left(TcpConnectorResponse::new(req, port, addr))
|
Either::Left(TcpConnectorResponse::new(req, port, addr))
|
||||||
} else {
|
} else {
|
||||||
error!("TCP connector: got unresolved address");
|
error!("TCP connector: got unresolved address");
|
||||||
Either::Right(err(ConnectError::Unresolverd))
|
Either::Right(err(ConnectError::Unresolved))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -18,7 +18,7 @@ pub enum ConnectError {
|
|||||||
|
|
||||||
/// Unresolved host name
|
/// Unresolved host name
|
||||||
#[display(fmt = "Connector received `Connect` method with unresolved host")]
|
#[display(fmt = "Connector received `Connect` method with unresolved host")]
|
||||||
Unresolverd,
|
Unresolved,
|
||||||
|
|
||||||
/// Connection io error
|
/// Connection io error
|
||||||
#[display(fmt = "{}", _0)]
|
#[display(fmt = "{}", _0)]
|
||||||
|
Reference in New Issue
Block a user