Skip to content

Commit

Permalink
Fixed HTTP without SSL
Browse files Browse the repository at this point in the history
  • Loading branch information
shimberger committed Nov 25, 2021
1 parent 4ae86fc commit 3e0920a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,7 @@ func main() {
log.Printf("Starting proxy server on port %v", proxyListenAddress)
proxy := goproxy.NewProxyHttpServer()
proxy.ConnectDial = tnet.Dial
proxy.Tr.Dial = tnet.Dial
//proxy.Verbose = true
log.Fatal(http.ListenAndServe(proxyListenAddress, proxy))
}

0 comments on commit 3e0920a

Please sign in to comment.