Code maintenance: http proxy starts from Run func

This commit is contained in:
Quentin McGaw
2020-12-30 22:02:47 +00:00
parent 251555f859
commit ea28c791e6
2 changed files with 7 additions and 4 deletions

View File

@@ -269,10 +269,6 @@ func _main(background context.Context, buildInfo models.BuildInformation,
wg.Add(1)
go shadowsocksLooper.Run(ctx, wg)
if allSettings.HTTPProxy.Enabled {
_, _ = httpProxyLooper.SetStatus(constants.Running)
}
wg.Add(1)
go routeReadyEvents(ctx, wg, buildInfo, tunnelReadyCh, dnsReadyCh,
unboundLooper, updaterLooper, publicIPLooper, routingConf, logger, httpClient,