Repository: fatedier/frp (language: go)

Issue:
is it `tls_verify` or `tlsVerify`?
is it `tls_verify` or `tlsVerify`?
```
type HTTPPluginOptions struct {
	Name      string   `json:"name"`
	Addr      string   `json:"addr"`
	Path      string   `json:"path"`
	Ops       []string `json:"ops"`
	TLSVerify bool     `json:"tls_verify,omitempty"`
}
```


Discussion / hints:

Fix patch:
diff --git a/pkg/config/legacy/server.go b/pkg/config/legacy/server.go
index acdb93b40a6..797770a3a94 100644
--- a/pkg/config/legacy/server.go
+++ b/pkg/config/legacy/server.go
@@ -27,7 +27,7 @@ type HTTPPluginOptions struct {
 	Addr      string   `ini:"addr"`
 	Path      string   `ini:"path"`
 	Ops       []string `ini:"ops"`
-	TLSVerify bool     `ini:"tls_verify"`
+	TLSVerify bool     `ini:"tlsVerify"`
 }
 
 // ServerCommonConf contains information for a server service. It is
diff --git a/pkg/config/v1/common.go b/pkg/config/v1/common.go
index 119c024cbfd..422a8082ede 100644
--- a/pkg/config/v1/common.go
+++ b/pkg/config/v1/common.go
@@ -109,7 +109,7 @@ type HTTPPluginOptions struct {
 	Addr      string   `json:"addr"`
 	Path      string   `json:"path"`
 	Ops       []string `json:"ops"`
-	TLSVerify bool     `json:"tls_verify,omitempty"`
+	TLSVerify bool     `json:"tlsVerify,omitempty"`
 }
 
 type HeaderOperations struct {


Test patch: