Browse Source

modify

pull/336/head
ambitioner 8 years ago
parent
commit
1af6276be9
  1. 6
      models/plugin/http-proxy/proxy/proxy.go

6
models/plugin/http-proxy/proxy/proxy.go

@ -46,11 +46,13 @@ func NewProxyPlugin(params map[string]string) (p plugin.Plugin, err error) {
return
}
p = &Proxy{
proxy := &Proxy{
Server: NewProxyServer(),
Ln: listen,
}
return
go proxy.Server.Serve(proxy.Ln)
return proxy, nil
}
func (proxy *Proxy) Name() string {

Loading…
Cancel
Save