diff --git a/actix-tls/CHANGES.md b/actix-tls/CHANGES.md index e0035f37..709dfcc6 100644 --- a/actix-tls/CHANGES.md +++ b/actix-tls/CHANGES.md @@ -10,7 +10,8 @@ * Implement `Error` for `accept::TlsError` where both types also implement `Error`. [#422] * Implement `Default` for `connect::Resolver`. [#422] * Implement `Error` for `connect::ConnectError`. [#422] -* Implement `Default` for `tcp::{TcpConnector, TcpConnectorService}`. [#423] +* Implement `Default` for `connect::tcp::{TcpConnector, TcpConnectorService}`. [#423] +* Implement `Default` for `connect::ConnectorService`. [#423] ### Changed * The crate's default features flags no longer include `uri`. [#422] diff --git a/actix-tls/src/connect/connector.rs b/actix-tls/src/connect/connector.rs index 94d72fe8..a4276548 100644 --- a/actix-tls/src/connect/connector.rs +++ b/actix-tls/src/connect/connector.rs @@ -57,7 +57,7 @@ impl ServiceFactory> for Connector { /// /// Service implementation receives connection information, resolves DNS if required, and returns /// a TCP stream. -#[derive(Clone)] +#[derive(Clone, Default)] pub struct ConnectorService { tcp: TcpConnectorService, resolver: ResolverService,