Skip to content

Conversation

spyophobia
Copy link
Contributor

See #394

This is a lazy implementation that simply filters for disable before the vector of shadowsocks::ServerConfig is created.

  • Benefit: simply, lazy, no memory usage, no modification to shadowsocks::ServerConfig
  • Downside: Display trait for shadowsocks_service::Config is not aware of disabled servers

@zonyitoo zonyitoo marked this pull request as ready for review January 27, 2021 12:24
Copy link
Contributor Author

@spyophobia spyophobia left a comment

Choose a reason for hiding this comment

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

Done

@zonyitoo zonyitoo merged commit 559db65 into shadowsocks:master Jan 27, 2021
@spyophobia spyophobia deleted the server_disable branch January 27, 2021 22:55
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.

2 participants