1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-29 10:45:22 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
Vigilans
1e222425b6 Amend domain matcher with returning values of all matched subdomains 2020-08-13 15:26:30 +08:00
Vigilans
c74a33f827 Amending domain matcher with returning array of all matches 2020-08-11 13:31:04 +08:00
Kirill Motkov
0401a91ef4 Some code improvements
* Rewrite empty string checks more idiomatically.
* Change strings.ToLower comparisons to strings.EqualFold.
* Rewrite switch statement with only one case as if.
2019-06-28 17:53:44 +03:00
Darien Raymond
9de03d088e
improve performance on domain matcher 2018-11-02 12:14:41 +01:00
Darien Raymond
7b28a19013
improve domain matcher performance 2018-09-08 21:54:09 +02:00
Darien Raymond
e6b5356ea9
don't alloc new maps until required 2018-08-22 22:49:02 +02:00
Darien Raymond
059dfdbb97
doc for strmatcher interface 2018-08-20 15:39:58 +02:00
Darien Raymond
44c759eeab
extract full matcher group 2018-08-20 09:57:06 +02:00
Darien Raymond
899b1399ee
check init state of DomainMatcherGroup. fixes #1238 2018-08-20 09:47:18 +02:00
Darien Raymond
edcf564dd7
improve performance of domain matcher 2018-08-19 21:04:15 +02:00