Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tlsConfig 与示例json配置文件的字段名不同 #7

Closed
marskid opened this issue Jan 30, 2019 · 0 comments
Closed

tlsConfig 与示例json配置文件的字段名不同 #7

marskid opened this issue Jan 30, 2019 · 0 comments

Comments

@marskid
Copy link

marskid commented Jan 30, 2019

代码中

h2s/h2s.go

Line 30 in 8b73394

TLSConfig *TLSConfig `json:"tlsConfig"`

与示例中

{
  "bind": "127.0.0.1:1080",
  "upstreams": [
    {
      "address": "proxy.example.com:443",
      "username": "user",
      "password": "pwd",
      "tls": {
         ......
       }
    }
  ],
 "accounts": [{
    "username": "test server",
    "password": "test"
  }],
  "timeout": "20s",
  "retries": 3
}

tls字段不同,测试必须写为tlsConfig才能识别

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant