0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-19 06:39:48 +03:00

Merge branch 'main' into dns

This commit is contained in:
秋のかえで
2021-04-18 13:24:44 +08:00
13 changed files with 910 additions and 49 deletions

View File

@ -179,7 +179,7 @@ func (d *DefaultDispatcher) getLink(ctx context.Context) (*transport.Link, *tran
func shouldOverride(ctx context.Context, result SniffResult, request session.SniffingRequest, destination net.Destination) bool {
domain := result.Domain()
for _, d := range request.ExcludeForDomain {
if domain == d {
if strings.ToLower(domain) == d {
return false
}
}