Commit be720404 authored by ginuerzh's avatar ginuerzh

2.6-rc1

parent c4e6bcf5
...@@ -74,6 +74,10 @@ var bypassTests = []struct { ...@@ -74,6 +74,10 @@ var bypassTests = []struct {
{[]string{"www.example.*"}, false, "www.example.com", true}, {[]string{"www.example.*"}, false, "www.example.com", true},
{[]string{"www.example.*"}, false, "www.example.io", true}, {[]string{"www.example.*"}, false, "www.example.io", true},
{[]string{"www.example.*"}, false, "www.example.com.cn", 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) { func TestBypass(t *testing.T) {
......
...@@ -14,7 +14,7 @@ import ( ...@@ -14,7 +14,7 @@ import (
) )
// Version is the gost version. // Version is the gost version.
const Version = "2.6-dev" const Version = "2.6-rc1"
// Debug is a flag that enables the debug log. // Debug is a flag that enables the debug log.
var Debug bool var Debug bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment