Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused TcpConnectService #299

Merged
merged 3 commits into from Mar 27, 2021

Conversation

fakeshadow
Copy link
Contributor

PR Type

Refactor

PR Checklist

Check your PR fulfills the following:

  • A changelog entry has been made for the appropriate packages.
  • Format code with the latest stable rustfmt

Overview

Remove actix_tls::connect::TcpConnectService. This service type share almost all the logic with connect::ConnectService with only the return type different as TcpStream. This would be also achieveable with ConnectService's return type with Connectition<Address, TcpStream>::into_parts() API.

Simplify TcpConnectorService's service call future.

@robjtede robjtede merged commit 4544562 into master Mar 27, 2021
@robjtede robjtede deleted the refactor/actix_tls_tcp_connect_service branch March 27, 2021 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants