This commit is contained in:
evilsocket 2018-02-08 04:59:57 +01:00
parent 81b2683bcf
commit d6d75ee390
2 changed files with 5 additions and 0 deletions

View file

@ -246,6 +246,7 @@ func (p *HTTPProxy) ConfigureTLS(address string, proxyPort int, httpPort int, sc
}
func (p *HTTPProxy) httpWorker() error {
fmt.Printf(" httpWorker\n")
p.isRunning = true
return p.Server.ListenAndServe()
}
@ -327,7 +328,9 @@ func (p *HTTPProxy) httpsWorker() error {
}
func (p *HTTPProxy) Start() {
fmt.Printf("httpproxybase.start\n")
go func() {
fmt.Printf("httpproxybase.start go routine\n")
var err error
if p.isTLS == true {