Edge-based userspace proxy

This commit is contained in:
Wojciech Tyczynski
2017-03-20 14:02:35 +01:00
parent f7c06ad23c
commit c5cbdbe3d2
4 changed files with 210 additions and 192 deletions

View File

@@ -281,7 +281,7 @@ func NewProxyServerDefault(config *options.ProxyServerConfig) (*ProxyServer, err
// our config.EndpointsConfigHandler.
loadBalancer := userspace.NewLoadBalancerRR()
// set EndpointsConfigHandler to our loadBalancer
endpointsHandler = loadBalancer
endpointsEventHandler = loadBalancer
proxierUserspace, err := userspace.NewProxier(
loadBalancer,
net.ParseIP(config.BindAddress),