Browse Source

2.6-rc1

pull/321/head
ginuerzh 8 years ago
parent
commit
be72040466
  1. 4
      bypass_test.go
  2. 2
      gost.go

4
bypass_test.go

@ -74,6 +74,10 @@ var bypassTests = []struct {
{[]string{"www.example.*"}, false, "www.example.com", true},
{[]string{"www.example.*"}, false, "www.example.io", true},
{[]string{"www.example.*"}, false, "www.example.com.cn", true},
{[]string{".example.com"}, false, "www.example.com", true},
{[]string{".example.com"}, false, "example.com", true},
{[]string{".example.com"}, false, "www.example.com.cn", false},
}
func TestBypass(t *testing.T) {

2
gost.go

@ -14,7 +14,7 @@ import (
)
// Version is the gost version.
const Version = "2.6-dev"
const Version = "2.6-rc1"
// Debug is a flag that enables the debug log.
var Debug bool

Loading…
Cancel
Save