Commit graph

36 commits

Author SHA1 Message Date
Skyxim
d4e48d709f chore: add test case 2023-04-01 11:21:38 +08:00
Skyxim
f54bf2d935 fix: multiple wildcard 2023-04-01 11:17:15 +08:00
Skyxim
971131d951 chore: add comment 2023-04-01 10:52:20 +08:00
Skyxim
07fb529e36 fix: processing data 2023-04-01 10:38:30 +08:00
Skyxim
a6ee3348df chore: optimized initialization 2023-03-31 23:51:09 +08:00
Skyxim
3a4b5fb145 chore: remove unused field 2023-03-31 20:57:26 +08:00
Skyxim
1e989b68bd fix: wildcard match 2023-03-31 20:43:49 +08:00
Skyxim
6c9c0bd755 chore: add unit test and adjust logic error 2023-03-30 13:36:14 +08:00
wwqgtxx
ae13418929 fix: broken url 2023-03-29 19:43:06 +08:00
wwqgtxx
ae8913587d fix: better DomainSet 2023-03-29 18:47:56 +08:00
Skyxim
c486d7c67e fix: filtering out duplicate domains 2023-03-29 17:40:22 +08:00
Skyxim
82dddf932a chore: add classical provider for nameserver-policy, and rename domain-set to rule-set 2023-03-29 16:28:26 +08:00
Skyxim
9f7a0052a8 fix: an empty set match will panic 2023-03-29 13:43:10 +08:00
Skyxim
c3ed06e99d chore: sniffer use TrieSet 2023-03-29 13:24:26 +08:00
Skyxim
d52748165f feat: nameserver-policy support domain-set, reduce domain-set memory usage 2023-03-29 13:14:02 +08:00
wwqgtxx
bc5ab3120f fix: use same strClone function 2022-11-30 20:38:03 +08:00
wwqgtxx
df8e129fc6 chore: optimize DomainTrie for only one child 2022-11-30 19:42:05 +08:00
wwqgtxx
84caee94af chore: decrease DomainTrie's memory use 2022-11-30 18:50:46 +08:00
wwqgtxx
22fb219ad8 chore: trie.DomainTrie will not depend on zero value 2022-11-02 22:28:18 +08:00
yaling888
a6eb11ce18 Refactor: DomainTrie use generics 2022-04-12 18:45:47 +08:00
Skyxim
b2981f921c chore: reduce a little memory 2022-04-09 22:24:48 +08:00
MetaCubeX
609d69191a Merge remote-tracking branch 'clash/dev' into Alpha
# Conflicts:
#	.github/workflows/docker.yml
#	adapter/outboundgroup/fallback.go
#	adapter/outboundgroup/loadbalance.go
#	adapter/outboundgroup/relay.go
#	adapter/outboundgroup/selector.go
#	adapter/outboundgroup/urltest.go
#	config/config.go
#	go.mod
#	go.sum
#	main.go
#	test/go.mod
#	test/go.sum
2022-03-17 01:41:51 +08:00
Dreamacro
6a661bff0c Migration: go 1.18 2022-03-16 12:10:13 +08:00
MetaCubeX
68fccfacc0 [Skip CI] 2022-03-15 02:20:19 +08:00
Clash-Mini
1cdaf782ba Merge remote-tracking branch 'clash/dev' into Feature 2022-02-04 02:38:32 +08:00
Dreamacro
b1a639feae Fix: domain trie search 2022-01-26 22:28:13 +08:00
Skyxim
c6f923041f Feature:Supported Rule-Set 2021-12-02 22:56:17 +08:00
Maze.tsz
35cf39e415 Revert "[test] rule providers"
This reverts commit 078389f4f6.
2021-11-26 00:57:41 +08:00
maze.y2b@gmail.com
078389f4f6 [test] rule providers 2021-11-25 23:14:31 +08:00
Dreamacro
f1cf7e9269 Style: use gofumpt for fmt 2021-10-10 23:44:09 +08:00
Rusty Pen
0778591524
Feature: dns resolve domain through nameserver-policy (#1406) 2021-05-19 11:17:35 +08:00
Dreamacro
d759d16944 Style: cleanup code 2021-03-24 01:00:21 +08:00
Kr328
14c9cf1b97
Fix: domain trie crash if not match in #758 (#762) 2020-06-24 19:46:37 +08:00
Kr328
3dfff84cc3
Fix: domain trie should backtrack to parent if match fail (#758) 2020-06-24 18:41:23 +08:00
Dreamacro
fb628e9c62 Feature: add default hosts localhost 2020-06-07 17:25:51 +08:00
Dreamacro
8d0c6c6e66 Feature: domain trie support wildcard alias 2020-05-28 12:13:05 +08:00