Simplify http attrabute matching

In the past, we use Starlark script, it is over engineered and barely used.
By switching to simple key value string contains logic we can reduce core size about 0.7MB
This commit is contained in:
yuhan6665 2023-05-21 11:26:22 -04:00
parent d11d72be6c
commit bf4b1fab3c
8 changed files with 103 additions and 157 deletions

1
go.mod
View file

@ -20,7 +20,6 @@ require (
github.com/stretchr/testify v1.8.4
github.com/v2fly/ss-bloomring v0.0.0-20210312155135-28617310f63e
github.com/xtls/reality v0.0.0-20230331223127-176a94313eda
go.starlark.net v0.0.0-20230302034142-4b1e35fe2254
golang.org/x/crypto v0.9.0
golang.org/x/net v0.10.0
golang.org/x/sync v0.2.0