Skip to content

Commit

Permalink
feat:增加注释和删除无用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
erichuyuehu committed May 19, 2023
1 parent 7f5cac6 commit d7a52f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions MSDKDns/CacheManager/MSDKDnsManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -1256,6 +1256,8 @@ - (NSArray *)defaultServers {
#if IS_INTL
if ([[MSDKDnsParamsManager shareInstance] msdkDnsGetEncryptType] != HttpDnsEncryptTypeHTTPS) {
[servers addObjectsFromArray: MSDKDnsHttpServerIps_INTL];
} else {
// 国际站SDK暂不支持HTTPS解析
}
#else
if ([[MSDKDnsParamsManager shareInstance] msdkDnsGetEncryptType] == HttpDnsEncryptTypeHTTPS) {
Expand Down
1 change: 0 additions & 1 deletion MSDKDns/MSDKDns.m
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,6 @@ - (NSDictionary *) WGGetDnsDetail:(NSString *) domain {
}

- (int) WGGetNetworkStack {
int type = [[MSDKDnsManager shareInstance] getAddressType];
return [[MSDKDnsManager shareInstance] getAddressType];
}

Expand Down

0 comments on commit d7a52f9

Please sign in to comment.