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 enums from YamlSNIConfig struct. #7565

Merged
merged 1 commit into from
Feb 26, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions iocore/net/YamlSNIConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,25 +49,10 @@ TSDECL(http2);
TSDECL(host_sni_policy);
#undef TSDECL

const int start = 0;
struct YamlSNIConfig {
enum class Action {
verify_client = start,
verify_client_ca_certs,
tunnel_route, // blind tunnel action
forward_route, // decrypt data and then blind tunnel action
partial_blind_route, // decrypt data; partial blind routing
verify_server_policy, // this applies to server side vc only
verify_server_properties, // this applies to server side vc only
client_cert,
h2, // this applies to client side only
host_sni_policy // Applies to client side only
};
enum class Level { NONE = 0, MODERATE, STRICT };
enum class Policy : uint8_t { DISABLED = 0, PERMISSIVE, ENFORCED, UNSET };
enum class Property : uint8_t { NONE = 0, SIGNATURE_MASK = 0x1, NAME_MASK = 0x2, ALL_MASK = 0x3, UNSET };
enum class TLSProtocol : uint8_t { TLSv1 = 0, TLSv1_1, TLSv1_2, TLSv1_3, TLS_MAX = TLSv1_3 };
enum class Control : uint8_t { NONE = 0, ENABLE, DISABLE };

YamlSNIConfig() {}

Expand Down