Skip to content

Commit 1782216

Browse files
author
messica
committed
feat: 🎸 Optimize TLS Reality conversion rules
1 parent d502d60 commit 1782216

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/singbox/common/tls.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use super::base::Strategy;
1+
use super::base::{SingleOrMultipleValue, Strategy};
22
use serde::{Deserialize, Serialize};
33
use serde_with::skip_serializing_none;
44

@@ -78,8 +78,9 @@ pub struct Ech {
7878
pub struct Reality {
7979
enabled: Option<bool>,
8080
handshake: Option<RealityHandshake>,
81+
public_key: Option<String>,
8182
private_key: Option<String>,
82-
short_id: Option<Vec<String>>,
83+
short_id: Option<SingleOrMultipleValue<String>>,
8384
max_time_difference: Option<String>,
8485
}
8586

0 commit comments

Comments
 (0)