Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

Optimize the connection steps#624

Open
sszllx wants to merge 1 commit into
shadowsocks:masterfrom
sszllx:master
Open

Optimize the connection steps#624
sszllx wants to merge 1 commit into
shadowsocks:masterfrom
sszllx:master

Conversation

@sszllx
Copy link
Copy Markdown

@sszllx sszllx commented Dec 8, 2017

When initiating a connection, there is no need to disconnect the previous connection.

@librehat
Copy link
Copy Markdown
Contributor

Do we stop the previous connection? I also don't see a need to have it as a member function. You can just write it in place with C++'s find_if with lambda

@librehat librehat closed this Dec 10, 2017
@librehat librehat reopened this Dec 10, 2017
Copy link
Copy Markdown
Contributor

@librehat librehat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As previous comment

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants